in reply to debug help

vrempire if you are running csh or one of its derivitives then
you can redirect STDERR by using the following:-
perl -d file.pl >& errors.txt
If you just want to page through then errors the try:-
perl -d file.pl |& more


Hope this helps