in reply to Re^8: Test fails: 01_Archive-Extract.t and TGZ files
in thread Test fails: 01_Archive-Extract.t and TGZ files

Problem
I am trying to find which Extract.pm is in use but:

[~] # perl -MExtract -E 'say $INC{"Extract.pm"}' Can't locate Extract.pm in @INC (@INC contains: /opt/lib/perl5/site_/5 +.14.2/armv5tel-linux-thread-multi /opt/lib/perl5/site_/5.14.2 /opt/li +b/perl5/5.14.2/armv5tel-linux-thread-multi /opt/lib/perl5/5.14.2 .). BEGIN failed--compilation aborted.

I got this code from:

www.perlmonks.org/?node_id=954737

but running this code shows it is present:

perldoc -l Archive::Extract /opt/lib/perl5/5.14.2/Archive/Extract.pm

what is the problem?

Replies are listed 'Best First'.
Re^10: Test fails: 01_Archive-Extract.t and TGZ files
by Khen1950fx (Canon) on Feb 23, 2012 at 22:57 UTC
    There's no Extract.pm:-). Here's a different way to do it:
    /opt/perl-5.14.2/bin/perl -MArchive::Extract -e 'print "$Archive::Extr +act::VERSION"'