summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2012-10-06 13:19:27 +0200
committerRicardo Signes <rjbs@cpan.org>2012-11-12 09:18:36 -0500
commit7a024c0573c5e7e0a257d6b4f18e941a0c9d83ff (patch)
treeca0bbafeb4923bc60b88103512a16f2c649c3eb3 /lib
parent6bffb26466b88dcdcbde57de1f197dff18f32aaf (diff)
downloadperl-7a024c0573c5e7e0a257d6b4f18e941a0c9d83ff.tar.gz
Add quotes.
Without quotes the vim syntax was broken.
Diffstat (limited to 'lib')
-rw-r--r--lib/perl5db.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl
index 685b34e124..c223172d38 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -6155,7 +6155,7 @@ sub print_trace {
$file = $file eq '-e' ? $file : "file '$file'" unless $short;
# Get the actual sub's name, and shorten to $maxtrace's requirement.
- $s = $sub[$i]{sub};
+ $s = $sub[$i]{'sub'};
$s = ( substr $s, 0, $maxtrace - 3 ) . '...' if length $s > $maxtrace;
# Short report uses trimmed file and sub names.