in reply to How to attach a perl debugger to a running perl

I don't know of a way to start the debugger after the script is running.

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



grep
Mynd you, mønk bites Kan be pretti nasti...