NAME

Modwheel::DB - Abstract factory class for Modwheel database interfaces.

SYNOPSIS

my $db = Modwheel::DB->new(modwheel => $modwheel);
$db->connect or die("Couldn't connect to database: ". $db->errstr);

$db->disconnect if $db->connected;

MORE INFORMATION

See Modwheel::DB::Generic for more information.

CONSTRUCTOR

Modwheel::DB->new(modwheel => $modwheel)

This function creates a DB class based on the current database type. The database type is selected from the configuration entry <database><type>.

This way we can support different database types for each session.

EXPORT

None.

HISTORY

0.01

Initial version.

SEE ALSO

The README included in the Modwheel distribution.

The Modwheel website: http://www.0x61736b.net/Modwheel/

AUTHORS

Ask Solem Hoel, ask@0x61736b.net.

COPYRIGHT, LICENSE

Copyright (C) 2007 by Ask Solem Hoel ask@0x61736b.net.

All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.