in reply to Re: Re: Re: DBI handle destroyed during CGI::Application setup
in thread DBI handle destroyed during CGI::Application setup
I still get$self->run_modes ({ 'logon' => 'LogonPage', 'vlogon' => 'VerifyLogon', 'menu' => 'MenuPage', 'todo' => 'ToDoPage' }); # your run_modes argument was not explicitly a hash - the br +aces correct this
Changing back toCan'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 li +ne 90.
makes Perl happy .. no errors, and the first page comes up fine.$self->run_modes ( 'logon' => \&LogonPage, 'vlogon' => \&VerifyLogon, 'menu' => \&MenuPage, 'todo' => \&ToDoPage ); # your run_modes argument was not explicitly a hash - the bra +ces correct this
--t. alex
"Excellent. Release the hounds." -- Monty Burns.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI handle destroyed during CGI::Application setup
by Anonymous Monk on Jan 08, 2002 at 05:27 UTC |