|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Class::DBI and mod_perl 2by ides (Deacon) |
| on May 04, 2007 at 14:47 UTC ( #613584=note: print w/ replies, xml ) | Need Help?? |
|
To get the current request object under mod_perl 2 you need to use Apache2::RequestUtil->request(). Here is a link to the docs on that. You'll find that whole page covers everything you'll need to know to translate mod_perl 1.x code to mod_perl 2.x code. If you haven't done so already I'd also check into DBIx::Class , personally I gave up on using Class::DBI long ago after running into all sorts of odd problems that I couldn't find easy solutions to.
Frank Wiles <frank@revsys.com>
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||