projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make harness warning-free when running with -Mdiagnostics
[p5sagit/p5-mst-13.2.git]
/
warnings.pl
diff --git
a/warnings.pl
b/warnings.pl
index
bc6b42a
..
94cc34f
100644
(file)
--- a/
warnings.pl
+++ b/
warnings.pl
@@
-564,6
+564,7
@@
$All = "" ; vec($All, $Offsets{'all'}, 2) = 3 ;
sub Croaker
{
require Carp::Heavy; # this initializes %CarpInternal
+ local $Carp::CarpInternal{'warnings'};
delete $Carp::CarpInternal{'warnings'};
Carp::croak(@_);
}