From 3170649431eb5688b22560d1c824cf4b7252a79c Mon Sep 17 00:00:00 2001 From: Mike Guy Date: Mon, 14 Aug 2000 09:26:02 +0100 Subject: Re: [ID 20000807.003] [PATCH] Debugger treatment of condition "0" Message-Id: p4raw-id: //depot/perl@6616 --- lib/perl5db.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 { -- cgit v1.2.1