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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH} typo fix in Carp/Heavy.pm
[perl5.git]
/
lib
/
Carp
/
Heavy.pm
diff --git
a/lib/Carp/Heavy.pm
b/lib/Carp/Heavy.pm
index
5de3972
..
cf10892
100644
(file)
--- 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;
# On one line so MakeMaker will see it.
use Carp; our $VERSION = $Carp::VERSION;
-our ($CarpLevel, $MaxArgNums, $MaxEvalLen, $Max
LenArg
, $Verbose);
+our ($CarpLevel, $MaxArgNums, $MaxEvalLen, $Max
ArgLen
, $Verbose);
sub caller_info {
my $i = shift(@_) + 1;
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 = defined($overload::VERSION) ? overload::StrVal($arg) : "$arg";
}
$arg =~ s/'/\\'/g;
- $arg = str_len_trim($arg, $Max
LenArg
);
+ $arg = str_len_trim($arg, $Max
ArgLen
);
# Quote it?
$arg = "'$arg'" unless $arg =~ /^-?[\d.]+\z/;
# Quote it?
$arg = "'$arg'" unless $arg =~ /^-?[\d.]+\z/;