$self->run_modes ({
'logon' => 'LogonPage',
'vlogon' => 'VerifyLogon',
'menu' => 'MenuPage',
'todo' => 'ToDoPage'
}); # your run_modes argument was not explicitly a hash - the braces correct this
####
Can't use string ("LogonPage") as a subroutine ref while "strict refs" in use at /usr/local/lib/perl5/site_perl/5.6.0/CGI/Application.pm line 90.
####
$self->run_modes (
'logon' => \&LogonPage,
'vlogon' => \&VerifyLogon,
'menu' => \&MenuPage,
'todo' => \&ToDoPage
); # your run_modes argument was not explicitly a hash - the braces correct this