in reply to Re^3: Missing Node.PM in XML::LibXML v1.69
in thread Missing Node.PM in XML::LibXML v1.69

That was it... I had my context wrong for the findnodes function:

Old:

my $status = $dom->findnodes("..."); my $msg = $dom->findnodes("..."); . . print $status->getFirstChild()->data, "\n"; print $msg->getFirstChild()->data, "\n";

New:

my ($status) = $dom->findnodes("..."); my ($msg) = $dom->findnodes("..."); . . print $status->getFirstChild()->nodeValue(), "\n"; print $msg->getFirstChild()->nodeValue(), "\n";

Thanks, everyone, for all the help.

Replies are listed 'Best First'.
Re^5: Missing Node.PM in XML::LibXML v1.69
by ikegami (Patriarch) on Jun 14, 2010 at 17:19 UTC

    I'm guessing

    ->getFirstChild()->nodeValue()

    could be replaced with

    ->textContent()