projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f46fa38
)
Silence an expected warning (when playing with utf8ness and string overloading)
Rafael Garcia-Suarez [Tue, 24 Oct 2006 14:42:13 +0000 (14:42 +0000)]
p4raw-id: //depot/perl@29099
t/uni/overload.t
patch
|
blob
|
blame
|
history
diff --git
a/t/uni/overload.t
b/t/uni/overload.t
index
042a45d
..
e4f4e13
100644
(file)
--- a/
t/uni/overload.t
+++ b/
t/uni/overload.t
@@
-162,6
+162,7
@@
foreach my $operator ('print', 'syswrite', 'syswrite len', 'syswrite off',
my $u = UTF8Toggle->new("$pad\311\n$trail");
my $l = UTF8Toggle->new("$pad\351\n$trail", 1);
if ($operator eq 'print') {
+ no warnings 'utf8';
print $fh $u;
print $fh $u;
print $fh $u;