diff options
Diffstat (limited to 'contrib/perl5/t/op/assignwarn.t')
-rwxr-xr-x | contrib/perl5/t/op/assignwarn.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/perl5/t/op/assignwarn.t b/contrib/perl5/t/op/assignwarn.t index 57e89c4..b95cec5 100755 --- a/contrib/perl5/t/op/assignwarn.t +++ b/contrib/perl5/t/op/assignwarn.t @@ -8,12 +8,12 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; + unshift @INC, '../lib'; } use strict; +use warnings; -$^W = 1; my $warn = ""; $SIG{q(__WARN__)} = sub { print $warn; $warn .= join("",@_) }; |