summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh ben Jore <jjore@cpan.org>2010-07-10 07:54:32 -0700
committerJosh ben Jore <jjore@cpan.org>2010-07-10 19:25:11 +0000
commitdab8d6d0b1f96e63697336d8fd2d4b827ea88b22 (patch)
tree32881afaa454bafca33ad7c45b3f92d17b9c2004 /lib
parent4a49187b4ff06d1d913d4bf83abf7388b9dfe065 (diff)
downloadperl-dab8d6d0b1f96e63697336d8fd2d4b827ea88b22.tar.gz
Remove extra/useless $@ check after eval { require PadWalker } (which is still checked)
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 da872e6ced..8159b41916 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -8617,7 +8617,7 @@ if PadWalker could be loaded.
=cut
- if (not $text =~ /::/ and eval { require PadWalker } and not $@ ) {
+ if (not $text =~ /::/ and eval { require PadWalker } ) {
my $level = 1;
while (1) {
my @info = caller($level);