in reply to Watch in Debug

Perl has builtin(?) debugger. perl -d runs the script in the debugger. You might want to check out ddd if you're on a Unix type system (http://www.gnu.org/sorfware/ddd/). It's a GUI debugging package that has support for perl

/\/\averick