in reply to programming a break point
Place following line into your program:
and then run with debugger available$DB::single=1;
or even betterperl -d foo.pl
or even better moreperl -d:ptkdb foo.pl
last mentioned one does not offer same feature set as ptkdb, but very soon will do even much better, as it has large amount of optimizations.perl -d:tkdb foo.pl
in case of perl -d foo.pl you will need to type 'r' once your program starts to make it run.
update: removed DB::DB(); as it is actually not needed, thanks to wisdom from Eliya
|
|---|