BEGIN {
if( $ENV{PERL_CORE} ) {
- chdir 't' if -d 't';
- @INC = '../lib';
+ chdir 't' if -d 't';
+ @INC = '../lib';
}
}
}
END { -f $tmpfile && (open STDERR, '>&SAVERR' and unlink $tmpfile) }
+no warnings 'once';
+# no false warning about Name "main::SAVERR" used only once: possible typo
open(SAVERR, ">&STDERR");
open(STDERR, ">$tmpfile");