diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-28 09:37:36 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-28 09:37:36 +0000 |
commit | d5a71f3055c3a1145f32dafabd5c3bba8ef27f4d (patch) | |
tree | 27073062f2feb8423bfdf2bf73c7cc995838a009 /mg.c | |
parent | 3399f0414ad939f7d0381e4fc7351f342abe2de6 (diff) | |
download | perl-d5a71f3055c3a1145f32dafabd5c3bba8ef27f4d.tar.gz |
fixes for bugs in C<use warnings qw(FATAL all)> (from Paul Marquess)
p4raw-id: //depot/perl@5995
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1735,7 +1735,7 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg) PL_compiling.cop_warnings = pWARN_NONE; break; } - if (isWARN_on(sv, WARN_ALL)) { + if (isWARN_on(sv, WARN_ALL) && !isWARNf_on(sv, WARN_ALL)) { PL_compiling.cop_warnings = pWARN_ALL; PL_dowarn |= G_WARN_ONCE ; } |