To run a Perl script in debug mode, you run it as follows:
I suggest that before you go doing that, that you read the
Perl debug tutorial. That will show you how to use it. Its really not all that hard.
If you need additional help with your script, please post your script here, enclosed in the necessary code tags.
Regards,
Jeff