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