NAME
MoCo::DataBase - Data Base Handler for MoCo
SYNOPSIS
package MyDataBase;
use base qw(MoCo::DataBase);
__PACKAGE__->dsn('dbi:mysql:myapp');
__PACKAGE__->username('test');
__PACKAGE__->password('test');
1;
# In your scripts
MyDataBase->execute('select 1');
SEE ALSO
AUTHOR
Junya Kondo, <jkondo@hatena.com>
COPYRIGHT AND LICENSE
Copyright (C) Hatena Inc. All Rights Reserved.
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.