in reply to Re: HTML Parser loop
in thread HTML Parser loop

I use:
HTML::Parser version 3.6
and:
HTML::Entities version 3.6


This is a reduced code:
#!/usr/bin/perl use lib '/home/my_library'; use WWW::Mechanize; use HTTP::Cookies; use Stream::Reader; exit;
and the fail I get when I try to run it is:
Can't locate loadable object for module HTML::Parser in @INC...
"my_library" contains the HTML folder
I can't tell if it's a pm problem or if I misuse the module

Moked

Replies are listed 'Best First'.
Re^3: HTML Parser loop
by ikegami (Patriarch) on May 31, 2009 at 07:56 UTC

    Can't locate loadable object for module HTML::Parser

    The module isn't properly installed. Like the message says, perl can't find its compiled component.

    "my_library" contains the HTML folder

    Good, although it would probably be better if /home/my_library/lib/perl5 contained it since you have nowhere logical to install the docs and so on. (You'd have to adjust the use lib line if you made this change.)

      So,

      As I understand it the installation of the module was not OK.
      I'm cheking it now.
      Thanks for the tip

      Moked