WTF::DBH - Database handle handling for WTF framework
This document describes WTF::DBH version 1.01
use WTF::DBH; my $dbh = WTF::DBH->connect();
This module handles the database handle for the WTF framework. Using Apache::DBI, it sets reconnection pings and calls for the connection to start during the Apache INIT phase. It sets the handle's parameters and returns a cached handle on request.
There is single subroutine in this module.
connect()
This subroutine returns a cached database handle to the WTF database.
my $dbh = WTF::DBH->connect(); $dbh->do('DELETE FROM employee WHERE name LIKE "Hans%"') or die $dbh->errstr();
WTF::DBH depends on the following modules:
Use of this module implies the reading and agreement with the license under which this software is release. That license can be found in the ``license.txt'' file included with this distribution.