From: Xiao Lan (a°a...°)
> Hi,
>
> When I get a database handler with DBI,
>
> my $dbh = DBI->connect(...);
That's a "handle" not a "handler". A very different thing.
Jenda
= je...@krynicky.cz === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to g
2009/12/21 Xiao Lan (小兰) :
> my $dbh = DBI->connect(...);
> 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?
I
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
in