-----Original Message-----
>From: Chas Owens <[EMAIL PROTECTED]>

>> It looks like it has something to do with $dbh going out of scope
>> (when the child exits).
>snip
>
>This is definitely a case of the database handle auto-disconnecting
>when it is destroyed.  You can see the behavior by creating a set of
>DBI subclasses and overriding the DBI::db::destroy function.  Change
>the DBI->connect call to MyDBI->connect and add these lines to the
>bottom of the script.
>

This is the reason really.I was also confused for this case once.
Thanks for Chas's explain.

--
mailto:[EMAIL PROTECTED]
http://home.arcor.de/jeffpang/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to