Re: Does an explicit database close method exist?

[prev] [thread] [next] [Date index for 2004/09/21]

From: Perrin Harkins
Subject: Re: Does an explicit database close method exist?
Date: 22:15 on 21 Sep 2004
On Tue, 2004-09-21 at 18:04, Robert Rombaut wrote:
> Since I could change 
> the default "Main" to something else, I didn't want to hardcode 
> __PACKAGE__->db_Main->disconnect into the application.

Actually, you can't.  "Main" is hard-coded throughout Class::DBI and it
is the only connection name that is allowed.  So, ->db_Main() is really
pretty safe to use.

- Perrin

RE: Does an explicit database close method exist?
Carl Johnstone 12:14 on 20 Sep 2004

Re: Does an explicit database close method exist?
Robert Rombaut 14:29 on 20 Sep 2004

RE: Does an explicit database close method exist?
Carl Johnstone 14:45 on 20 Sep 2004

Re: Does an explicit database close method exist?
Robert Rombaut 22:04 on 21 Sep 2004

Re: Does an explicit database close method exist?
Perrin Harkins 22:15 on 21 Sep 2004

Generated at 11:35 on 01 Dec 2004 by mariachi v0.52