And I still don't understand how your sub setup executes without error -- you are creating a DBI handle within your call to $self->param just as I was -- and I got a DBI error out of that.
I also note that you have also made the change from
to$self->run_modes( 'mode1' => 'showform', 'mode2' => 'showlist' );
Is the original documentation inaccurate? After some skull sweat I figured out the answer myself, and I'm glad to see that you have it correctly on your page. I will peruse your node with a magnifying glass to see how many other 'gotcha's there are -- thanks for your contribution.$self->run_modes( 'mode1' => \&showform, 'mode2' => \&showlist );
--t. alex
"Excellent. Release the hounds." -- Monty Burns.
In reply to Re: Re: DBI handle destroyed during CGI::Application setup
by talexb
in thread DBI handle destroyed during CGI::Application setup
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |