http://qs321.pair.com?node_id=870170


in reply to Re^3: to "use vars" or not to
in thread to "use vars" or not to

Thanks again for the reply and link.

So to summarize, creating a global (via use vars) $dbh database handle in a module called from a forked child cannot impact another forked child because the child is a copy of the parent prior to the creation of the $dbh. ?

hopefully thats right ? cheers.

Replies are listed 'Best First'.
Re^5: to "use vars" or not to
by ikegami (Patriarch) on Nov 08, 2010 at 20:34 UTC
    Right. If the dbh was created before forking, that would be another story.