NAME
Kwiki::DB::DBI - A DBI.pm wrapper as a Kwiki base class.
SYNOPSIS
package Kwiki::MyPlugin;
use Kwiki::Plugin -Base;
sub action {
$self->hub->dbi->connect($dsn,$user,$password);
$self->hub->dbi->do(...);
$self->hub->dbi->$dbi_method(...);
}
DESCRIPTION
This class is for those pure DBI.pm lover. It does nothing but let DBI.pm do all the work. Plugin writers who want to use this module, just add this module into your plugins
file, and there will be a convienent $hub-
dbi> reference to an instantiated DBI object. After that, just follow the manual of DBI.pm to use the DBI object.
SEE ALSO
COPYRIGHT
Copyright 2005 by Kang-min Liu <gugod@gugod.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>