projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
68ead86
)
use warnings instead of $^W.
Jarkko Hietaniemi [Mon, 7 Aug 2000 19:49:53 +0000 (19:49 +0000)]
p4raw-id: //depot/perl@6543
t/op/bless.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/bless.t
b/t/op/bless.t
index
7e7de4f
..
a5813d6
100644
(file)
--- a/
t/op/bless.t
+++ b/
t/op/bless.t
@@
-94,7
+94,7
@@
print expected(bless({}, $1), "E", "HASH"), "ok 19\n";
print expected(bless([]), 'main', "ARRAY"), "ok 22\n";
{
local $SIG{__WARN__} = sub { push @w, join '', @_ };
- local $^W = 1;
+ use warnings;
$m = bless [];
print expected($m, 'main', "ARRAY"), "ok 23\n";