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";
'attributes' => bless( , 'XML::DOM::Lite::NodeList' ),
Thanks. I thought I was getting a list of Nodes, not an array.
Um, an array is a list of nodes, and you're supposed to be getting both (blessed array reference).
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (498 votes),