Hi,

When I get a database handler with DBI,

my $dbh = DBI->connect(...);

Then I fork in the script:

my $pid = fork;
if ($pid ) { # parent
    do something;
} else { # child
    do something another;
    $dbh->disconnect;
}

What I want to know is, when $dbh get disconnected in child, will it
influence the one in parent?

Thanks in advance.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to