> dbi_connect_method? > > from man DBI: > > The "dbi_connect_method" attribute can be used to specify which driver > method should be called to establish > the connection. The only useful values are 'connect', > 'connect_cached', or some specialized case like > 'Apache::DBI::connect' (which is automatically the default when > running within Apache). > > so, basically you can create a connection under Apache::DBI that is > _not_ cached using 'connect'.
Is that using DBI->connect or Apache::DBI->connect . . . My understanding is that using Apache::DBI pretty much overrides the functionality of DBI->connect and returns an existing database handle if it exists (based on parameters passed to method). I want to be able to return a cached database handle from a method unless a certain argument is passed. If this argument is present I would like to return an independent database handle for perhaps performing transactions.