On Thu, Mar 19, 2009 at 1:01 PM, Steve <[email protected]> wrote: > Are you using either CGI::Application::Dispatch or CGI::Carp > qw(fatalsToBrowser)? > > --- > Steve Comrie > > Stewart L wrote: > >> Tried digging a bit through the archives and didn't find anything on this. >> >> If someone does something weird and calls a runlevel that does not exist, >> the application returns a 500 Server error and the message 'no such run >> level'. >> >> Is there a way to handle this more gracefully than have the application >> crash? I'd like to return an error page. > >
http://search.cpan.org/dist/CGI-Application/lib/CGI/Application.pm Search for AUTOLOAD. That should do what you want. -- fREW Schmidt http://blog.afoolishmanifesto.com ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
