ResourcePool::Factory::DBI - A DBI Factory for ResourcePool
use ResourcePool::Factory::DBI;
my $factory = ResourcePool::Factory::DBI->new(
$data_source,
$username,
$auth,
\%attr);
This class is a factory class for DBI resources to be used with the
ResourcePool.
Please have a look at ResourcePool::Factory documentation to learn
about the purpose of such a factory.
Takes the same arguments as the connect method of the DBI perl module.
- $data_source
- The DBI data source.
- $username
- The username used to authenticate.
- $auth
- The password used to authenticate.
- \%attr
- DBI attributes.
DBI, ResourcePool, ResourcePool::Factory
Copyright (C) 2001-2004 by Markus Winand <mws@fatalmind.com>
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.