PATH:
usr
/
local
/
share
/
perl5
/
ExtUtils
package ExtUtils::testlib; use strict; use warnings; our $VERSION = '7.44'; $VERSION =~ tr/_//d; use Cwd; use File::Spec; # So the tests can chdir around and not break @INC. # We use getcwd() because otherwise rel2abs will blow up under taint # mode pre-5.8. We detaint is so @INC won't be tainted. This is # no worse, and probably better, than just shoving an untainted, # relative "blib/lib" onto @INC. my $cwd; BEGIN { ($cwd) = getcwd() =~ /(.*)/; } use lib map { File::Spec->rel2abs($_, $cwd) } qw(blib/arch blib/lib); 1; __END__ =head1 NAME ExtUtils::testlib - add blib/* directories to @INC =head1 SYNOPSIS use ExtUtils::testlib; =head1 DESCRIPTION After an extension has been built and before it is installed it may be desirable to test it bypassing C<make test>. By adding use ExtUtils::testlib; to a test program the intermediate directories used by C<make> are added to @INC.
[-] Install.pm
[edit]
[-] Mksymlists.pm
[edit]
[-] MM_QNX.pm
[edit]
[-] MANIFEST.SKIP
[edit]
[-] MM_NW5.pm
[edit]
[+]
MakeMaker
[+]
Liblist
[-] MM_Darwin.pm
[edit]
[-] MM_Unix.pm
[edit]
[+]
..
[-] MM_UWIN.pm
[edit]
[-] Command.pm
[edit]
[-] MakeMaker.pm
[edit]
[-] Liblist.pm
[edit]
[-] MY.pm
[edit]
[-] MM_MacOS.pm
[edit]
[-] Manifest.pm
[edit]
[-] MM.pm
[edit]
[-] MM_OS2.pm
[edit]
[-] MM_VOS.pm
[edit]
[+]
Command
[-] MM_Cygwin.pm
[edit]
[-] Installed.pm
[edit]
[-] MM_Win95.pm
[edit]
[-] testlib.pm
[edit]
[-] MM_VMS.pm
[edit]
[-] MM_Any.pm
[edit]
[-] Mkbootstrap.pm
[edit]
[-] MM_BeOS.pm
[edit]
[-] MM_AIX.pm
[edit]
[-] Packlist.pm
[edit]
[-] MM_DOS.pm
[edit]
[-] MM_Win32.pm
[edit]