summaryrefslogtreecommitdiff
path: root/lib/perl5db.pl
diff options
context:
space:
mode:
authorMike Guy <mjtg@cam.ac.uk>2000-08-14 09:26:02 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-14 14:00:11 +0000
commit3170649431eb5688b22560d1c824cf4b7252a79c (patch)
treedd32b752d8adef9a82599d8f3d8d56630b79f8e4 /lib/perl5db.pl
parent03a27ae7a2d77f4526cc8f95901f616c50fdc14b (diff)
downloadperl-3170649431eb5688b22560d1c824cf4b7252a79c.tar.gz
Re: [ID 20000807.003] [PATCH] Debugger treatment of condition "0"
Message-Id: <E13OEdG-0007LT-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6616
Diffstat (limited to 'lib/perl5db.pl')
-rw-r--r--lib/perl5db.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/perl5db.pl b/lib/perl5db.pl
index 9629121fa2..c2ebca1192 100644
--- a/lib/perl5db.pl
+++ b/lib/perl5db.pl
@@ -931,7 +931,7 @@ EOP
next CMD; };
$cmd =~ /^b\b\s*(\d*)\s*(.*)/ && do {
$i = $1 || $line;
- $cond = defined $2 ? $2 : '1';
+ $cond = length $2 ? $2 : '1';
if ($dbline[$i] == 0) {
print $OUT "Line $i not breakable.\n";
} else {