suppress warning about possible attempt to use comma as a list element separator foerste
authorMatthias Förste <foerste@schlittermann.de>
Mon, 18 Jul 2011 12:53:04 +0200
branchfoerste
changeset 29 6c8364b81a82
parent 28 9d0a1a1b70a7
child 30 433042c33ad8
suppress warning about possible attempt to use comma as a list element separator
Build.PL
--- a/Build.PL	Mon Jul 18 12:51:44 2011 +0200
+++ b/Build.PL	Mon Jul 18 12:53:04 2011 +0200
@@ -30,8 +30,10 @@
         my $u = my $g = ($h =~ m|/([^/]+)$|)[0];
         system(qw(chown -R), "$u:$g", $h) == 0
             or die "Can't 'chown -R $u:$g $h': $!";
-        system(qw(chmod -R go=,-st), $h) == 0
+        { no warnings 'qw';
+          system(qw(chmod -R go=,-st), $h) == 0
             or die "Can't 'chmod -R go=,-st $h";
+        }
         $self->SUPER::ACTION_install;
     }
 ___CODE