Use perl -d scriptname.pl. You can can step through the script and then use x %sth to inspect the vars. You can also use V main to view all vars in the main package.
take a look at perlrun and perldebug
In reply to Re: How to attach a perl debugger to a running perl
by grep
in thread How to attach a perl debugger to a running perl
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |