Perl: the Markov chain saw | |
PerlMonks |
Re: Question on CGI::Application::Plugin::DBH and named handlesby james2vegas (Chaplain) |
on Aug 18, 2009 at 19:53 UTC ( [id://789573]=note: print w/replies, xml ) | Need Help?? |
You shouldn't be using CGI::Application::Plugin::DBH outside of CGI applications, use DBI itself (or an ORM like DBIx::Class). Are you using CGI::Application? Are you calling dbh_config() in setup() or cgiapp_init()? If you are calling it in a run-mode then it won't be persisted into the run mode where you call dbh().
In Section
Seekers of Perl Wisdom
|
|