On Thu, Jan 19, 2012 at 8:48 AM, Josh Narins wrote:
> The idea of Apache::DBI is that you get to pool connections.
>
> If you call Apache::DBI->new and there is a spare connection, you get it, if
> not, one is created for you.
That's a little misleading. There's no actual pooling. Connections
> From: Perrin Harkins
> However, if you are trying to make the handle persistent
>yourself, by putting it in a global variable or something similar,
>that will be a problem. You have to close all connections you open
>during startup, and open new ones in the child processes.
>
heres kinda s
On 01/19/2012 08:48 AM, Josh Narins wrote:
The idea of Apache::DBI is that you get to pool connections.
If you call Apache::DBI->new and there is a spare connection, you get
it, if not, one is created for you.
This isn't quite accurate. Apache::DBI doesn't do connection pooling, it
manages pe
The idea of Apache::DBI is that you get to pool connections.
If you call Apache::DBI->new and there is a spare connection, you get it, if
not, one is created for you.
You almost certainly don't want one $db object being shared as a member of a
class, unless your entire program also happens to r
Another information, in other platform working well
Idel
On 19 January 2012 12:50, Idel Fuschini wrote:
> Hi I've got this simple module:
>
> #file:Apache2/AMFTest.pm;
> #
>
> #
> # Created by Idel Fuschini
> # Date: 01/08/10
> # Site: http://www.apachemobilefilte
On Wed, Jan 18, 2012 at 5:08 PM, mike cardeiro wrote:
> I have a library I want to preload. This library makes a database
> connection and assigns it to a variable that is exported so all programs can
> use this handle.
>
> will this global handle db handle be a single handle amongst all apache
>
Hi I've got this simple module:
#file:Apache2/AMFTest.pm;
#
#
# Created by Idel Fuschini
# Date: 01/08/10
# Site: http://www.apachemobilefilter.org
# Mail: idel.fusch...@gmail.com
package Apache2::AMFTest;
use strict;
use warnings;
use Apache2::AMFCommonLib