[plug] Perl Module calling problem
Kyle Hargraves
kh at nelson.hedland.edu.au
Tue Jan 15 23:48:35 WST 2002
Hi,
Just wondering if anyone could see what is going wrong here. The routine
is complaining about not being able to find Wrap.pm and Head.pm
Perl modules Wrap.pm and Head.pm are in the following directories
[root at ming play]# find /usr/lib/perl5/site_perl -name Wrap.pm
/usr/lib/perl5/site_perl/5.6.0/Text/Wrap.pm
[root at ming play]# find /usr/lib/perl5/site_perl -name Head.pm
/usr/lib/perl5/site_perl/5.6.0/MIME/Head.pm
Taking a look at the errors (reproduced below) - i.e. at the relevant line numbers
for a given file
[root at ming play]# nl -ba /usr/lib/perl5/site_perl/5.6.0/MIME/Entity.pm |grep 235
235 use MIME::Head;
[root at ming play]# nl -ba /usr/lib/perl5/site_perl/5.6.0/MIME/Head.pm |grep 116
116 use IO::Wrap;
Reproducing the error :
[root at ming play]# perl test_progs.pl
Can't locate IO/Wrap.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .)
at /usr/lib/perl5/site_perl/5.6.0/MIME/Head.pm line 116.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/MIME/Head.pm line 116.
Compilation failed in require at /usr/lib/perl5/site_perl/5.6.0/MIME/Entity.pm line 235.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/MIME/Entity.pm line 235.
Compilation failed in require at test_progs.pl line 3.
BEGIN failed--compilation aborted at test_progs.pl line 3.
cheers,
Kyle Hargraves
More information about the plug
mailing list