Skip to content

Commit

Permalink
Carp.pm: Restore defined &overload::StrVal check
Browse files Browse the repository at this point in the history
See 578ded8.  This was accidentally changed by f7c3eab.
  • Loading branch information
Father Chrysostomos committed Aug 19, 2013
1 parent ebbb00a commit 5ef2a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/Carp/lib/Carp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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) ) {
Expand Down

0 comments on commit 5ef2a01

Please sign in to comment.