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 <