Jim J Wigginton wrote:
: I'm trying to run a script which uses the HTML-Parser-3.25 scripts, and
: every time, I get this error:
: Can't locate loadable object for module HTML::Parser in @INC.
: The file Parser.pm is in the @INC directory, and the lib directory within
: the tar file is in the @INC directory, also.
: So...  Can anyone help fix this?

HTML::Parser is partially written in C, so it has to be compiled.
Just moving Parser.pm into @INC won't do it. To compile:

        perl Makefile.PL prefix=/my/own/lib/area/
        make
        make test
        make install

(Use the "prefix=..." to point to your own Perl library installation
directory, if you can't write to the systemwide library directory.
This install sequence is for Unix; I'm blissfuly ignorant of Windows. ;)

-- tdk

Reply via email to