You want a conditional break point. From "perldebug":
b [line] [condition]Set a breakpoint before the given line. If a condition is specified, it's evaluated each time the statement is reached: a breakpoint is taken only if the condition is true. Breakpoints may only be set on lines that begin an executable statement. Conditions don't use if:
b 237 $x > 30 b 237 ++$count237 < 11 b 33 /pattern/iIf the line number is ., sets a breakpoint on the current line:
b . $n > 100
In reply to Re: Get the number of the current test when debugging a test script
by RonW
in thread Get the number of the current test when debugging a test script
by Dumu
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |