in reply to pass $dbh object to new program

Fletch is right, but you can use tools to handle database connection pooling.

Celebrate Intellectual Diversity