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 1473648 commit ac0e418Copy full SHA for ac0e418
t/run/todo.t
@@ -100,6 +100,18 @@ my $is_debugging_build = $Config{cppflags} =~ /-DDEBUGGING/;
100
101
our $TODO;
102
103
+TODO: {
104
+ local $::TODO = 'GH 5835';
105
+ my $prev_w = $^W;
106
+ $^W = 1;
107
+ {
108
+ local $^W = $^W;
109
+ is($^W, '1', 'local $^W assignment to self ok');
110
+ }
111
+ is($^W, 1, '$^W value prior to localization is restored');
112
+ $^W = $prev_w;
113
+}
114
+
115
TODO: {
116
local $::TODO = "GH 16008";
117
my $results = fresh_perl(<<~'EOF', {} );
0 commit comments