Skip Menu |

This queue is for tickets about the Apache-DBI CPAN distribution.

Report information
The Basics
Id: 7154
Status: resolved
Priority: 0/
Queue: Apache-DBI

People
Owner: Nobody in particular
Requestors: tom.schindl [...] bestsolution.at
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: POD/Manpage improvement
There often arise the question how to create non-persistent connections using Apache-DBI. The info could be found in the DBI-docu but it does not make any problem to state this directly in the Apache-DBI docu. A docu-patch is included. Tom
--- /opt/perl-5.8.4-ap1/lib/site_perl/5.8.4/Apache/DBI.pm 2004-02-18 01:18:50.000000000 +0100 +++ DBI.pm 2004-07-28 13:24:01.254243168 +0200 @@ -354,6 +354,12 @@ to 1, just reports about a new connect. Setting the variable to 2 enables full debug output. +=head1 CREATING NONE-PERSISTENT CONNECTIONS + +If you want want to establish a connection which is not cached from Apache-DBI +you can achieve this in the following way in your module: + + $dbh = DBI->connect($data_source, $username, $password, { > > dbi_connect_method => 'connect' }) =head1 PREREQUISITES
[TOMSON - Wed Jul 28 07:29:48 2004]: Show quoted text
> There often arise the question how to create non-persistent > connections using Apache-DBI. The info could be found in the DBI- > docu but it does not make any problem to state this directly in the > Apache-DBI docu. A docu-patch is included. Tom
Thanks. I'm adding something like that to the next release. :)
http://xrl.us/gqsg (Link to svn.perl.org)