use warnings rather than fiddling with $^W (from Paul Marquess)
[p5sagit/p5-mst-13.2.git] / lib / File / Spec / Win32.pm
index 48ad847..120b799 100644 (file)
@@ -81,7 +81,6 @@ sub catfile {
 }
 
 sub path {
-    local $^W = 1;
     my $path = $ENV{'PATH'} || $ENV{'Path'} || $ENV{'path'};
     my @path = split(';',$path);
     foreach (@path) { $_ = '.' if $_ eq '' }