here is the snippet of the code.[html]my $dcrPath = $ARGV[0];my $itemName = $ARGV[1];my @val = split("/",$itemName);...[/html]get_node_list always says that it is using a undefined variable, which is not true, $val[0] is always defined and is data-type name.Thanks
...my $dcrPath = $ARGV[0];my $itemName = $ARGV[1];debug("itemName: '$itemName');my @val = split("/", $itemName);debug("ITEMS IN VAL: " . @val . " val-0: '$val[0]'");...
@reps = $rootnode->get_node_list($val[0]);
$val[0]
$val[0] really has what you expect in it.