projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6408761
)
Fix for 20001101.004, at least for the memleak part.
Jarkko Hietaniemi [Wed, 19 Jun 2002 21:14:53 +0000 (21:14 +0000)]
p4raw-id: //depot/perl@17310
lib/overload.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/overload.pm
b/lib/overload.pm
index
715f10a
..
fb1a0d1
100644
(file)
--- a/
lib/overload.pm
+++ b/
lib/overload.pm
@@
-91,7
+91,7
@@
sub AddrRef {
}
sub StrVal {
- (OverloadedStringify($_[0]) or ref($_[0]) eq 'Regexp') ?
+ (ref $_[0] && OverloadedStringify($_[0]) or ref($_[0]) eq 'Regexp') ?
(AddrRef(shift)) :
"$_[0]";
}