multiple simultaneous DBI connections?

2003-03-13 Thread Tom Norwood
I am currently looking at building a Perl object to handle data from a a database. I'm not really sure if it is best to have one connection to MySQL and let the object just deal with its own properties. Or to allow the object to initiate a DBI connection each time an instance of the object is

Re: multiple simultaneous DBI connections?

2003-03-13 Thread R. Hannes Niedner
On 3/13/03 6:47 AM, Tom Norwood [EMAIL PROTECTED] wrote: I am currently looking at building a Perl object to handle data from a a database. I'm not really sure if it is best to have one connection to MySQL and let the object just deal with its own properties. Or to allow the object to

Re: multiple simultaneous DBI connections?

2003-03-13 Thread Paul DuBois
At 14:47 + 3/13/03, Tom Norwood wrote: I am currently looking at building a Perl object to handle data from a a database. I'm not really sure if it is best to have one connection to MySQL and let the object just deal with its own properties. Or to allow the object to initiate a DBI connection

RE: multiple simultaneous DBI connections?

2003-03-13 Thread Tom Norwood
. -Original Message- From: Paul DuBois [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 15:14 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: multiple simultaneous DBI connections? At 14:47 + 3/13/03, Tom Norwood wrote: I am currently looking at building a Perl object to handle data from

RE: multiple simultaneous DBI connections?

2003-03-13 Thread Salada, Duncan
] Subject: RE: multiple simultaneous DBI connections? Paul, I guess I would see the fact that the script would hold the connection to MySQL for a shorter period of time, as the most obvious advantage. As far as OO programming goes the integration of DBI into my object would assure that a connection

RE: multiple simultaneous DBI connections?

2003-03-13 Thread Paul DuBois
, that's not much of a factor in most cases. It has very efficient connection establishment. -Original Message- From: Paul DuBois [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 15:14 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: multiple simultaneous DBI connections? At 14:47 + 3/13