in reply to XML lite unblessed reference
The selectNodes returns an array reference, not an blessed object:
my $nodes = $doc->selectNodes('/perldata/hello'); print ref($nodes), "\n"; =prints ARRAY =cut
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: XML lite unblessed reference
by Anonymous Monk on Aug 05, 2011 at 03:49 UTC | |
Re^2: XML lite unblessed reference
by lfast (Initiate) on Aug 08, 2011 at 16:31 UTC | |
by Anonymous Monk on Aug 08, 2011 at 21:52 UTC |
In Section
Seekers of Perl Wisdom