in reply to debug help

Try using the -c option:
perl -c file.pl
If you're getting errors before the debug prompt, it's a compile time error which you'll have to fix outside the debugger. Also, wierd things can happen when you redirect the output from an interactive program.

Later,
Ray.