[H-GEN] How do I specify a path in a Perl program
s4565 at lycos.co.uk
s4565 at lycos.co.uk
Mon May 13 04:19:54 EDT 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
Hi
I am trying to run a perl program which has in it
use HTML::Entities ();
only when I go to run the perl program I get
[tony at ringo FetchYahoo]$ ./fetchyahoo.pl --help
Can't locate HTML/Entities.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at ./fetchyahoo.pl line 40.
BEGIN failed--compilation aborted at ./fetchyahoo.pl line 40.
I have HTML/Entities.pm on my system
[root at ringo rpms]# ls -l
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/HTML/Entities.pm -r--r--r-- 1 root root 11359 Nov 6 2001 /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/HTML/Entities.pm
[root at ringo rpms]#
Question: How do I tell the perl program I want to run where
HTML::Entities is?
Thanks for the help
Cheers
Tony
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list