in reply to Perl to CGI

I'm not sure if my $0.02 will be able to help you, but there's a standard way for me to debug my scripts, and everywhere I go where people see me doing it, they say "Hey, I didn't know that was possible": 1. Make sure you have ptkdb (TK debugger) installed 2. Setup a local webserver (a development server if you wish), with a configuration similar to your production server. 3. Run the scripts with #!/usr/local/bin/perl -d (and whatever you like after that). Now try to access your script, and voila: your debugger will open with all parameters and things set the way your script uses them normally. This can save a lot of trouble...at least it did (and does) for me. Jouke