summaryrefslogtreecommitdiff
path: root/t/op/assignwarn.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/assignwarn.t')
-rwxr-xr-xt/op/assignwarn.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/assignwarn.t b/t/op/assignwarn.t
index 00f7abbf67..b95cec51a1 100755
--- a/t/op/assignwarn.t
+++ b/t/op/assignwarn.t
@@ -12,8 +12,8 @@ BEGIN {
}
use strict;
+use warnings;
-$^W = 1;
my $warn = "";
$SIG{q(__WARN__)} = sub { print $warn; $warn .= join("",@_) };