Re: Apache Blank Pages

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Thu, Jan 14, 2010 at 6:20 PM, cfaust-dougot <[email protected]> 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
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.