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 d29ca7dCopy full SHA for d29ca7d
t/run/todo.t
@@ -100,6 +100,21 @@ my $is_debugging_build = $Config{cppflags} =~ /-DDEBUGGING/;
100
101
our $TODO;
102
103
+TODO: {
104
+ local $::TODO = 'GH 5835';
105
+ my $results = fresh_perl(<<~'EOF', {});
106
+ $^W = 1;
107
+ print "$^W";
108
+ {
109
+ local $^W = $^W;
110
111
+ }
112
113
+ EOF
114
+ is($?, 0, 'perl exited normally');
115
+ is($results, '111', 'localized $^W behaves like ordinary localized scalar');
116
+}
117
+
118
TODO: {
119
local $::TODO = "GH 16008";
120
my $results = fresh_perl(<<~'EOF', {} );
0 commit comments