projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
lexical warnings update for docs and tests (from Paul Marquess)
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
pack.t
diff --git
a/t/op/pack.t
b/t/op/pack.t
index
09c566e
..
b336cb5
100755
(executable)
--- a/
t/op/pack.t
+++ b/
t/op/pack.t
@@
-98,7
+98,7
@@
print((unpack("p",pack("p",$test)) == $test ? "ok " : "not ok "),$test++,"\n");
# temps
sub foo { my $a = "a"; return $a . $a++ . $a++ }
{
- local $^W = 1;
+ use warnings;
my $last = $test;
local $SIG{__WARN__} = sub {
print "ok ",$test++,"\n" if $_[0] =~ /temporary val/