perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: Apache Blank Pages
Date Thu, 14 Jan 2010 23:24:51 GMT
On Thu, Jan 14, 2010 at 6:20 PM, cfaust-dougot <cfaust@doyougot.com> wrote:
> Long story short, I'm in the process of moving to another machine. I wanted
> to ask you though, is there any modules I should stay away from loading in
> startup.pl? Should DBI and DBD be loaded within each script and not within
> startup?

You just need to avoid opening files or sockets before forking.  It's
fine to load DBI/DBD.

> I've always been under the impression that if it was a module that I was
> going to be using in the majority of my scripts then I should put it in
> startup.

That's correct.

- Perrin

Mime
View raw message