Re: [CDBI] Re: Class::DBI and mod_perl

john drago <john.drago-n6GNfI+Y5Nu/3pe1ocb+swC/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
Gang,

With CDBI + mod_perl2 used on so many projects, doesn't it seem like "we" ought to do something about this?

IMHO it's rediculous to patch CPAN modules installed on your system. In fact, isn't that just one of those things we *shouldn't* do?

I don't have a better solution this morning, other than forking Ima::DBI and having new versions of CDBI use that instead.

I do a lot of projects using CDBI and it's annoying jumping through these kind of hoops. It's reminiscent of the '90s.

I would like to help out in any way I can. Just point me in the right direction.

Regards,

John Drago

On Wed, 20 Dec 2006 00:37 , Perrin Harkins <[email protected]> sent:

Adam Prime wrote:

> Has this happened yet?

No, not yet. Sorry.

> Apache->request doesn't exist in mp2, and the docs warn against using

> it's replacement because it doesn't play nicely when your running under

> mpm-worker

If you run mod_perl 2 with the prefork MPM, it really is ok to use.

Everyone who isn't on Windows should be running the prefork MPM.

> I'm not, but i'd still rather avoid having to use the

> db_Main code if i can. If the easiest way for me to do that is to patch

> Ima::DBI by hand i'll do that, but it should still get updated sometime

> right?

Right. For the moment, you can grab the patch here:

http://lists.digitalcraftsmen.net/pipermail/classdbi/2005-October/000338.html

- Perrin

_______________________________________________

ClassDBI mailing list

ClassDBI-Ra3b/[email protected]

http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

_______________________________________________
ClassDBI mailing list
ClassDBI-Ra3b/[email protected]
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.