diff options
Diffstat (limited to 't/pragma/locale.t')
-rwxr-xr-x | t/pragma/locale.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 05891fad77..d4b73b8f91 100755 --- a/t/pragma/locale.t +++ b/t/pragma/locale.t @@ -40,6 +40,7 @@ sub ok { # even the default locale will taint under 'use locale'. sub is_tainted { # hello, camel two. + local $^W; # no warnings 'undef' my $dummy; not eval { $dummy = join("", @_), kill 0; 1 } } |