Jonathan wrote:
on starting up my webapp, i need to pull some data from mysql that is
in the parent process (pre fork)
pre fork connections are bad though, so i'm wondering:
a_ do i have 2 db connect strings:
1. prefork dbh - instantiated prefork , then disconnect
2. postfork dbh - instantiated postfork
b_ do i have 1 db connection string
1. standard dbh - instantiate prefork, then disconnect
2. standard dbh - instantiate postfork
c_ something else
You can do b, because Apache::DBI will recognize that you are still in
startup and not make that connection persistent.
- Perrin