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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5830ee1
)
[perl5db] Remove leading ampersands in sub calls.
author
Shlomi Fish
<shlomif@shlomifish.org>
Sun, 30 Sep 2012 00:36:09 +0000
(
02:36
+0200)
committer
Ricardo Signes
<rjbs@cpan.org>
Mon, 12 Nov 2012 14:18:28 +0000
(09:18 -0500)
lib/perl5db.pl
patch
|
blob
|
blame
|
history
diff --git
a/lib/perl5db.pl
b/lib/perl5db.pl
index
4df4de8
..
15ee326
100644
(file)
--- a/
lib/perl5db.pl
+++ b/
lib/perl5db.pl
@@
-4640,14
+4640,14
@@
sub cmd_B {
# If it's * we're deleting all the breakpoints.
if ( $line eq '*' ) {
- if (not eval {
&
delete_breakpoint(); 1 }) {
+ if (not eval { delete_breakpoint(); 1 }) {
print {$OUT} $@;
}
}
# If there is a line spec, delete the breakpoint on that line.
elsif ( $line =~ /\A(\S.*)/ ) {
- if (not eval {
&
delete_breakpoint( $line || $dbline ); 1 }) {
+ if (not eval { delete_breakpoint( $line || $dbline ); 1 }) {
local $\ = '';
print {$OUT} $@;
}