Hi, I created a $dbh object in the main body, and pass it to a subroutine, then close the $dbh in the subroutine, does it influence the $dbh in the main?
$dbh = DBI->connect($data_source, $username, $auth, \%attr); my_func($dbh); $dbh->do(something); # will this broke? sub my_func { my $dbh=shift; ... $dbh->close; } Thanks.