summaryrefslogtreecommitdiff
path: root/lib/Carp
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-01-07 13:22:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-01-10 23:39:38 +0000
commit1798c67defb5bf831197d466a4471ea6e6e6d7d0 (patch)
treeaff274abdcdd0765875082b0fb48950fd63e9daa /lib/Carp
parent4c77eaa22dfbda2696a2fb937b406b4e26202676 (diff)
downloadperl-1798c67defb5bf831197d466a4471ea6e6e6d7d0.tar.gz
Nicer formatting for function arguments in Carp messages
Message-ID: <3FFC0816.9090406@uk.radan.com> (and increment version number in Carp) p4raw-id: //depot/perl@22109
Diffstat (limited to 'lib/Carp')
-rw-r--r--lib/Carp/Heavy.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Carp/Heavy.pm b/lib/Carp/Heavy.pm
index c3d3c26fa1..67c9ceb11f 100644
--- a/lib/Carp/Heavy.pm
+++ b/lib/Carp/Heavy.pm
@@ -34,7 +34,7 @@ sub caller_info {
push @args, '...';
}
# Push the args onto the subroutine
- $sub_name .= '(' . join (',', @args) . ')';
+ $sub_name .= '(' . join (', ', @args) . ')';
}
$call_info{sub_name} = $sub_name;
return wantarray() ? %call_info : \%call_info;