in reply to How to attach a perl debugger to a running perl
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
|
---|