This is Bavaria, Germany!
Call debugger with "perl -d x.pl"
| command | description | long description |
| c | continue | Execute perlprogram until evtly a breakpoint occurs. If there is no breakpoint execute normally. |
| b | break |
for example: b 28 Set a breakpoint in line 28 |
| s | single step | Do a single step, also go to subroutines! |
| n | normal step | Do a single step, but do not go to subroutines |
| x | Show contents of a variable, for example: x @ul oder x $name | |
| r | return | go to the end of the subroutine and return, after that usual single step |
| w | take a look surround the area of code where we are |
If this is not enough... you can stop executing the script and jump into the debugger when using this in your code:
$DB::single=2;