in reply to
die vs. print in CGI
This is just a guess, but die makes the program exit with an error (exit(1) I believe)... maybe the web server sees this and considers the script to have died abnormally, so throws an error.
- Ant
- Some of my best work -
Fish Dinner
Comment on
Re: die vs. print in CGI
In Section
Seekers of Perl Wisdom