summaryrefslogtreecommitdiff
path: root/perl/FromCPAN
diff options
context:
space:
mode:
Diffstat (limited to 'perl/FromCPAN')
-rw-r--r--perl/FromCPAN/Error.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/FromCPAN/Error.pm b/perl/FromCPAN/Error.pm
index 8b95e2d73d..d82b71325c 100644
--- a/perl/FromCPAN/Error.pm
+++ b/perl/FromCPAN/Error.pm
@@ -12,7 +12,7 @@
package Error;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
use vars qw($VERSION);
use 5.004;