Database-Async

 view release on metacpan or  search on metacpan

lib/Database/Async/Engine.pm  view on Meta::CPAN


=head1 DESCRIPTION

=cut

use URI;
use Scalar::Util;

our %ENGINE_MAP;

UNITCHECK { require Database::Async::Engine::Empty }

=head2 register_class

Class method which will register a package name for a given engine type.

=cut

sub register_class {
    my ($self, $name, $engine_class) = @_;
    die 'already have handler for ' . $name if exists $ENGINE_MAP{$name};



( run in 0.221 second using v1.01-cache-2.11-cpan-748bfb374f4 )