[Canberra-pm] Problems with HTML::LinkExtor->parse
John.Hockaday at ga.gov.au
John.Hockaday at ga.gov.au
Wed Jan 12 21:32:37 PST 2005
Hi,
I have been able to get this working on another machine. It seems that there
is a bootstrap error as follows:
HTML::Parser object version 3.25 does not match bootstrap parameter 3.26 at
/usr
/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 225.
Compilation failed in require at
/public/data/asddgate/lib/perl5.6.1/sun4-solari
s/HTML/LinkExtor.pm line 26.
Does this mean that I need to recompile DynaLoader, HTML::Parser or
HTML::LinkExtor?
This may fix my problem below.
Thanks.
John
> -----Original Message-----
> From: canberra-pm-bounces at pm.org
> [mailto:canberra-pm-bounces at pm.org] On Behalf Of Hockaday John
> Sent: Thursday, 13 January 2005 2:16 PM
> To: canberra-pm at pm.org
> Subject: [Canberra-pm] Problems with HTML::LinkExtor->parse
>
>
> Hi,
>
> I am running this little script:
>
> #!/usr/local/bin/perl
> #####################
> # Tests the HTML::Extor package
> #####################
> use Data::Dumper;
> use HTML::LinkExtor;
> use LWP::Simple;
>
> $LX = HTML::LinkExtor->new();
> $input = q{If <a href="http://perl.com/"> I am a LINK!!! </a>};
> print "Parsing output = \n", Dumper($LX->parse($input));
> print "Linking output = \n", Dumper($LX->links);
> ####################
> # End script
> ####################
>
> and I get the following output:
>
> marl:/public/asddadm/test$ ./linkextortest.pl
> Parsing output =
> $VAR1 = bless( {
> 'extractlink_cb' => undef,
> '_hparser_xs_state' => \1030704
> }, 'HTML::LinkExtor' );
> Linking output =
> marl:/public/asddadm/test$
>
> It seems to me that the HTML::LinkExtor->parse is not
> working. Does anyone
> know how to check this and maybe what the problem is?
>
> Thanks.
>
>
> John Hockaday
> Geoscience Australia
> GPO Box 378
> Canberra ACT 2601
> (02) 6249 9735
> http://www.ga.gov.au/
> john.hockaday\@ga.gov.au
> _______________________________________________
> Canberra-pm mailing list
> Canberra-pm at pm.org
> http://mail.pm.org/mailman/listinfo/canberra-pm
>
More information about the Canberra-pm
mailing list