in reply to How do I use a module?
At least that way you keep the script from outputting the ugly 500's back at ya (which, by the way, can also be acomplished by use CGI::Carp (fatalsToBrowser); if ya didn't have the problem in the 1st place).eval { require 'cgi-lib.pl'; }; if ($@) { print qq{Content-type: text/plain\n\n}; print qq{ I've goofed trying to find cgi-lib.pl! $@ }; }
|
|---|