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:
3302c52
)
Convert from ^ to \A.
author
Shlomi Fish
<shlomif@shlomifish.org>
Thu, 11 Oct 2012 08:29:36 +0000
(10:29 +0200)
committer
Ricardo Signes
<rjbs@cpan.org>
Mon, 12 Nov 2012 14:18:39 +0000
(09:18 -0500)
This is part of the debugger refactoring.
lib/perl5db.pl
patch
|
blob
|
blame
|
history
diff --git
a/lib/perl5db.pl
b/lib/perl5db.pl
index
63d0e08
..
6a0234e
100644
(file)
--- a/
lib/perl5db.pl
+++ b/
lib/perl5db.pl
@@
-4379,7
+4379,7
@@
sub cmd_wrapper {
# default to the older version of the command.
my $call = 'cmd_'
. ( $set{$CommandSet}{$cmd}
- || ( $cmd =~ /
^
[<>{]+/o ? 'prepost' : $cmd ) );
+ || ( $cmd =~ /
\A
[<>{]+/o ? 'prepost' : $cmd ) );
# Call the command subroutine, call it by name.
return __PACKAGE__->can($call)->( $cmd, $line, $dblineno );