more consting
[p5sagit/p5-mst-13.2.git] / lib / Shell.t
index 51f54a1..c76628c 100644 (file)
@@ -2,8 +2,8 @@
 
 BEGIN {
     if( $ENV{PERL_CORE} ) {
-       chdir 't' if -d 't';
-       @INC = '../lib';
+        chdir 't' if -d 't';
+        @INC = '../lib';
     }
 }
 
@@ -28,6 +28,8 @@ while ( -f $tmpfile ) {
 }
 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");