Hi,
Comment out line 503, by putting a # before 'local', that will help..
(cannot try myself, but since I placed the code there myself, I'm pretty convinced that will fix your problem.)
Greets,
Geert
> 2. BUG: Not a HASH reference? (Janus Liebregts)
>
> --__--__--
>
> Message: 2
> Date: Thu, 04 Jan 2001 17:47:29 +0100
> From: Janus Liebregts <ja...@li...>
> To: xml...@li...
> Subject: BUG: Not a HASH reference?
>
> Hi,
>
> Strugling with XML XSLT and PERL, I used the 0.24 version of XML::XSLT
>
> everytime my script fails with this error:
>
> Not a HASH reference at /usr/lib/perl5/site_perl/XML/XSLT.pm line 492
>
> using this script:
>
> use XML::XSLT;
> $xslfile = "$ENV{DOCUMENT_ROOT}/de.xsl";
> my $parser = XML::XSLT->new ($xslfile, "FILE", warnings => "Active");
> $parser->transform_document ("$ENV{DOCUMENT_ROOT}/Bewoners/links.xml",
> "FILE");
> $parser->print_result("$ENV{DOCUMENT_ROOT}/Bewoners/linksnew.xml");
> $parser->dispose ();
>
> regards,
> janus
|