003 File Manager
Current Path:
/usr/local/lib/perl5/5.32/ExtUtils
usr
/
local
/
lib
/
perl5
/
5.32
/
ExtUtils
/
📁
..
📁
CBuilder
📄
CBuilder.pm
(8.67 KB)
📁
Command
📄
Command.pm
(7.61 KB)
📁
Constant
📄
Constant.pm
(14.7 KB)
📄
Embed.pm
(12.45 KB)
📄
Install.pm
(40.06 KB)
📄
Installed.pm
(14.03 KB)
📁
Liblist
📄
Liblist.pm
(9.27 KB)
📄
MANIFEST.SKIP
(1.08 KB)
📄
MM.pm
(2.09 KB)
📄
MM_AIX.pm
(1.45 KB)
📄
MM_Any.pm
(80.93 KB)
📄
MM_BeOS.pm
(1.02 KB)
📄
MM_Cygwin.pm
(3.88 KB)
📄
MM_DOS.pm
(1.03 KB)
📄
MM_Darwin.pm
(930 B)
📄
MM_MacOS.pm
(887 B)
📄
MM_NW5.pm
(5.34 KB)
📄
MM_OS2.pm
(3.14 KB)
📄
MM_QNX.pm
(893 B)
📄
MM_UWIN.pm
(980 B)
📄
MM_Unix.pm
(112.36 KB)
📄
MM_VMS.pm
(66.67 KB)
📄
MM_VOS.pm
(748 B)
📄
MM_Win32.pm
(14.32 KB)
📄
MM_Win95.pm
(1.25 KB)
📄
MY.pm
(676 B)
📁
MakeMaker
📄
MakeMaker.pm
(106.94 KB)
📄
Manifest.pm
(22.92 KB)
📄
Miniperl.pm
(7.5 KB)
📄
Mkbootstrap.pm
(3.22 KB)
📄
Mksymlists.pm
(10.74 KB)
📄
Packlist.pm
(8.36 KB)
📁
ParseXS
📄
ParseXS.pm
(65.3 KB)
📄
ParseXS.pod
(4.3 KB)
📁
Typemaps
📄
Typemaps.pm
(26.26 KB)
📄
testlib.pm
(911 B)
📄
typemap
(11.05 KB)
📄
xsubpp
(4.95 KB)
Editing: testlib.pm
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.
Upload File
Create Folder