package MyApp; use base 'MyAuth'; use strict; use warnings; sub setup { my $self = shift; my $output = "

sub MyApp::setup entered

"; $self->start_mode('show_survey'); $self->run_modes([ 'show_survey', 'save_survey' ]); return $output; } sub show_survey { my $self = shift; my $output = "

sub MyApp::show_survey entered

"; return $output; } sub save_survey { my $self = shift; my $output = "

sub MyApp::save_survey entered

"; return $output; } 1;