On Thu, 08 May 2014 16:54:32 +0400
Jeff Pang <jeffp...@mail.ru> wrote:

>  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?

Yes.  It's a reference to the same DBI object.



--
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