This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebbb00a
)
Carp.pm: Restore defined &overload::StrVal check
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 19 Aug 2013 14:16:48 +0000
(07:16 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 19 Aug 2013 14:16:48 +0000
(07:16 -0700)
See
578ded8b8
. This was accidentally changed by
f7c3eab3866
.
dist/Carp/lib/Carp.pm
patch
|
blob
|
blame
|
history
diff --git
a/dist/Carp/lib/Carp.pm
b/dist/Carp/lib/Carp.pm
index
8225028
..
5ca5e52
100644
(file)
--- a/
dist/Carp/lib/Carp.pm
+++ b/
dist/Carp/lib/Carp.pm
@@
-215,7
+215,7
@@
sub format_arg {
}
else
{
- $arg = defined(
$overload::VERSION
) ? overload::StrVal($arg) : "$arg";
+ $arg = defined(
&overload::StrVal
) ? overload::StrVal($arg) : "$arg";
}
}
if ( defined($arg) ) {