[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Perl Help



On Sat, 2004-04-03 at 13:41, Robert Tilley wrote:
> How do I install the Perl XML libraries to prevent the following errors?
> 
> debian-rtg:/home/tilleyrw# ./scrape_test.pl
> Can't locate XML/LibXML.pm in @INC (@INC 
> contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) 
> at ./scrape_test.pl line 37.
> BEGIN failed--compilation aborted at ./scrape_test.pl line 37.
> debian-rtg:/home/tilleyrw#
> -- 
> Comments are appreciated,
> 
> Bob
> 

Well, first off, you might want to make sure that your LibXML pm is
where you think it is relatively, first off make sure that really is not
in perl's include path, if it is then make sure its not blah/LibXML.pm
rather than XML/LibXML.pm or some such.

You could always push the path containing the module onto Perl's @INC
array (I think, I've not used perl for a while). If all else fails, just
use the -I switch on the commandline.

-davidc






Reply to: