in reply to Debugging a module?
$DB::single = 1 if $name eq 'mark';
which I prefer for no apparent reason to
$DB::single = ($name eq 'mark');
Alternatively, you could put BEGIN { $DB::single = 1; } just before you use the module, but there's a good chance you'll end up stepping through a bunch of other modules you don't care about that way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Debugging a module?
by dstar (Scribe) on Apr 06, 2006 at 13:49 UTC | |
by sfink (Deacon) on Apr 06, 2006 at 16:54 UTC |