We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc0bc8 commit 9b2803fCopy full SHA for 9b2803f
t/re/reg_mesg.t
@@ -14,6 +14,12 @@ skip_all_without_unicode_tables();
14
use strict;
15
use open qw(:utf8 :std);
16
17
+# Show that it works when all warnings are enabled upon invocation. This file
18
+# includes tests that the default warnings are enabled by default, and the
19
+# non-default ones aren't.
20
+use warnings;
21
+BEGIN { ${^WARNING_BITS} = undef } # Kludge to restore default warnings
22
+
23
# Kind of a kludge to mark warnings to be expected only if we are testing
24
# under "use re 'strict'"
25
my $only_strict_marker = ':expected_only_under_strict';
0 commit comments