diff options
Diffstat (limited to 'ext/B/t/OptreeCheck.pm')
-rw-r--r-- | ext/B/t/OptreeCheck.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/t/OptreeCheck.pm b/ext/B/t/OptreeCheck.pm index ae86794403..8cfc5b61ca 100644 --- a/ext/B/t/OptreeCheck.pm +++ b/ext/B/t/OptreeCheck.pm @@ -482,7 +482,7 @@ sub getRendering { # in caller's package ( to test arg-fixup, comment next line) my $pkg = '{ package '.caller(1) .';'; { - no strict; + BEGIN { $^H = 0 } no warnings; $code = eval "$pkg sub { $code } }"; } |