in reply to CGI::Application::Dispatch and 'default' run-modes
If that's not what you want, then read the documentation more carefully, subclass CGI::Application::Dispatch and override the appropriate method.if( length $ENV{QUERY_STRING} ){ print "Status: 302 Moved\015\012Location: $ENV{SCRIPT_NAME}/SiteMana +ger\015\012\015\012" } else { CGI::Application::Dispatch->dispatch(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::Application::Dispatch and 'default' run-modes
by geektron (Curate) on Nov 03, 2004 at 06:25 UTC |