From: Robert Spier Date: Thu, 20 Dec 2001 08:10:00 +0000 (-0800) Subject: [PATCH} typo fix in Carp/Heavy.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb2aae6f031274e8d45993b7ed0cf653eebff43f;p=p5sagit%2Fp5-mst-13.2.git [PATCH} typo fix in Carp/Heavy.pm Message-ID: <15394.3416.693353.107334@rls.cx> p4raw-id: //depot/perl@13820 --- diff --git a/lib/Carp/Heavy.pm b/lib/Carp/Heavy.pm index 5de3972..cf10892 100644 --- a/lib/Carp/Heavy.pm +++ b/lib/Carp/Heavy.pm @@ -12,7 +12,7 @@ Carp heavy machinery - no user serviceable parts inside # On one line so MakeMaker will see it. use Carp; our $VERSION = $Carp::VERSION; -our ($CarpLevel, $MaxArgNums, $MaxEvalLen, $MaxLenArg, $Verbose); +our ($CarpLevel, $MaxArgNums, $MaxEvalLen, $MaxArgLen, $Verbose); sub caller_info { my $i = shift(@_) + 1; @@ -50,7 +50,7 @@ sub format_arg { $arg = defined($overload::VERSION) ? overload::StrVal($arg) : "$arg"; } $arg =~ s/'/\\'/g; - $arg = str_len_trim($arg, $MaxLenArg); + $arg = str_len_trim($arg, $MaxArgLen); # Quote it? $arg = "'$arg'" unless $arg =~ /^-?[\d.]+\z/;