develooper Front page | perl.libwww | Postings from September 2001

Problems with HTML::Parser and LWP ?

From:
Pascal Robert
Date:
September 1, 2001 12:50
Subject:
Problems with HTML::Parser and LWP ?
Message ID:
B7B51881.55B2%pascal@team.inter.net
Hi,

One of our customers is having a strange bug by using LWP::UserAgent.pm:

Can't locate loadable object for module HTML::Parser in @INC (@INC contains:
/opt/perl/lib/sun4-solaris/5.00404 /opt/perl/lib
/opt/perl/lib/site_perl/sun4-solaris /opt/perl/lib/site_perl .) at
/opt/perl/lib/site_perl/HTML/Entities.pm line 79

BEGIN failed--compilation aborted at
/opt/perl/lib/site_perl/HTML/HeadParser.pm line 70.

BEGIN failed--compilation aborted at
/opt/perl/lib/site_perl/LWP/UserAgent.pm line 103.


The worst in this, is that if I create a sample script using
HTML::HeadParser, it works fine, and HTML::Parser is indeed in the good
location.

This is perl, version 5.004_04 built for sun4-solaris
HTML::Parser version: 3.5
libwww-perl version: 5.53

Any idea ?

-- 
+------------------------------------------------------+
| Pascal Robert                 Inter.net Canada       |
|                                                      |
| <http://www.ca.inter.net/>    pascal@team.inter.net  |
+------------------------------------------------------+





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About