use warnings rather than fiddling with $^W (from Paul Marquess)
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / Manifest.pm
index 58c91bc..8bb3fc8 100644 (file)
@@ -25,7 +25,7 @@ $MANIFEST = 'MANIFEST';
 
 # Really cool fix from Ilya :)
 unless (defined $Config{d_link}) {
-    local $^W;
+    no warnings;
     *ln = \&cp;
 }