This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix perldiag entry for CORE::dump()
[perl5.git] / TestInit.pm
index f4ed6fd..f9a5e91 100644 (file)
@@ -47,7 +47,7 @@ sub import {
        } elsif ($_ eq 'T') {
            $chdir = '..'
                unless -f 't/TEST' && -f 'MANIFEST' && -d 'lib' && -d 'ext';
-           @INC = 'lib';
+           @INC = qw/ lib . /;
            $setopt = 1;
        } else {
            die "Unknown option '$_'";