What happens to a db-library handle on a fork?
"Wechsler, Steven" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <E67053DABCCDF4428BB7974550E1108F01089080@DIRECTEFFECT.mtvn.ad.viacom.com> |
I'm creating a loop which will create multiple chld processes. Before the loop I open up a DB handle, which needs to stay open while this fork occurs, but the children do not need access to the database. Should I explicitly close the handle in each child, just ignore it, or do something else? Thanks, Steve