package TestApp_autorunmode; use warnings; use strict; use base qw( CGI::Application ); use CGI::Application::Plugin::AutoRunmode; ################################################################ # # run modes # ################################################################# sub welcome : StartRunmode { my $self = shift; my $content = < Welcome Home is where.... EOC return $content; } sub hello : Runmode { my $self = shift; my $content = < Hello Hello world! Whoopee Whoopee_dispatch EOC return $content; } sub whoopee : Runmode { my $content = < Whoopee Whoopee! EOC return $content; } 1;