NAME

ResourcePool::Factory::DBI - A DBI Factory for ResourcePool

SYNOPSIS

use ResourcePool::Factory::DBI;

my $factory =  ResourcePool::Factory::DBI->new(
                       $data_source,
                       $username,
                       $auth,
                       \%attr);

DESCRIPTION

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.

ResourcePool::Factory::DBI->new($data_source, $username, $auth, $%attr)

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.

SEE ALSO

DBI, ResourcePool, ResourcePool::Factory

AUTHOR

    Copyright (C) 2002 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.