in reply to Re: Knowing what works with mod_perl
in thread Knowing what works with mod_perl

Is there a difference between using PerlModule Apache::DBI within httpd.conf and using use DBI; within startup.pl...

No, I don't think so. You should realize that anything that mod_perl loads, is basically done at runtime with either a require or a string eval. This means that you can have BEGIN {} blocks (because you can have them in a string eval as well). END {} blocks are handled differently.

...Not to mention there is no POD for the modules...

That still is indeed a problem. Patches are welcome. If there is a function with the same name in mod_perl 1.0, and it's not mentioned in the Porting document, you can assume that the API of the function is still the same.

Hope this helps.

Liz

Update:
Argh... Missed the "Apache::" versus non Apache in your question. Yes, definitely a difference: see bart's answer.