I swear I'm not trying to be a jerk.
That's a bad idea for a production CGI (one that you're not just testing). Showing errors to the outside can give hackers a lot of information about a script and a server. Make sure to take that line out for the real deal.Originally posted by demo@Mar 3 2005, 12:18 AM
Code:use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
Here is a link to another random quote CGI in perl that's super simple to code (4 lines) and even easier to manage (plain text quotes, no code): http://sedition.com/perl/random-quote-cgi.html