perldoc ResourcePool::Resource::DBI


ResourcePool::Resource::DBI - A ResourcePool wrapper for DBI


use ResourcePool::Resource::DBI;

my $resource =  ResourcePool::Resource::DBI->new(


This class is used by the ResourcePool internally to create DBI connections. Its called by the corresponding ResourcePool::Factory::DBI object which passes the parameters needed to establish the DBI connection.

The only thing which has to been known by an application developer about this class is the implementation of the precheck() and postcheck() methods:


Performs a $dbh->ping().

Returns: Returns true on success and false on fail


Performs a rollback() on the session if AutoCommit is off.

Returns: always true



Copyright (C) 2001-2003 by Markus Winand <>

This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.


Do not use offset for pagination. Learn why.


Last modification:
Mon Jan 31 15:15:35 2011
Informationen zu E-Commerce und Mediengesetz