in reply to Re: DBI handle destroyed during CGI::Application setup
in thread DBI handle destroyed during CGI::Application setup
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: DBI handle destroyed during CGI::Application setup
by rob_au (Abbot) on Jan 07, 2002 at 04:48 UTC | |
by talexb (Chancellor) on Jan 07, 2002 at 21:27 UTC | |
by Anonymous Monk on Jan 08, 2002 at 05:27 UTC |