http://www.perlmonks.org?node_id=918670


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