Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

Re: Node Details blank when adding node Via Perl SDK

$
0
0

Actually, in Perl, the $1 variable refers to the first captured match

inside of the most recent regex:

 

This...

$resp =~ /NodeID=(\d+)\</;

 

Says to run a regex on what is in the response from adding a node, match a

string that has NodeID=(any number of digits). The digits that are matched

are inside a parentheses, so they get gobbled up into the $1 variable,

which I then assign to $nid.

 

The code for the pollers has worked very well actually. The only problem

that remains is the Node Details being blank which is still occuring.

 

Good to know though about the description field, I will try eliminating

that.

 

 

 

On Fri, Oct 17, 2014 at 5:21 PM, juniordev <


Viewing all articles
Browse latest Browse all 20396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>