use CGI::Application::Plugin::AutoRunmode qw [ cgiapp_prerun]; sub menu : Runmode { 'Ouch'; }