]> git.ipfire.org Git - thirdparty/git.git/blobdiff - perl/Git/LoadCPAN.pm
Merge branch 'jk/perl-warning'
[thirdparty/git.git] / perl / Git / LoadCPAN.pm
index e5585e75e809ef5763d3d4f19ebd185c6f7c0f51..0c360bc799860798ade6b2afce6e05b0a567d21f 100644 (file)
@@ -1,7 +1,7 @@
 package Git::LoadCPAN;
 use 5.008;
 use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
 
 =head1 NAME