Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I just downloaded (manually) XML-XPath-1.13.tar.gz from cpan.org installed it (on Solaris 8) and got the following error when trying to use it. ./second Bareword "node_parent" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.0/XML/XPath/PerlSAX.pm line 54. I found an email that stated it was fixed in perl-XML-XPath-1.13-alt2 any idea where I can this ?
  • Comment on XML-XPath-1.13 Bareword "node_parent" not allowed while "strict subs" in u

Replies are listed 'Best First'.
Re: XML-XPath-1.13 Bareword "node_parent" not allowed while "strict subs" in u
by Limbic~Region (Chancellor) on Mar 31, 2004 at 23:47 UTC
    Anonymous Monk,
    This was a PITA to track down. I have no idea why the CPAN copy is still b0rked. You can get a RPM version here.

    Cheers - L~R

      Thanks I will see if I have redhat around here somewhere but if anyone has a normal gz it would be appreciated. - catfood
        catfood,
        You do not need Red Hat. Solaris 8 comes with rpm2cpio.
        $ rpm2cpio perl-XML-XPath-1.13-alt4.src.rpm | cpio -iv perl-XML-XPath. +spec $ rpm2cpio perl-XML-XPath-1.13-alt4.src.rpm | cpio -iv perl-XML-XPath- +1.13-alt-fixes.patch $ rpm2cpio perl-XML-XPath-1.13-alt4.src.rpm | cpio -iv XML-XPath-1.13. +tar.bz2
        You can find out more info here.

        Cheers - L~R