
Infobot::Plugin::DataSource::DBIxClass - Simple reusable interface to DBIx::Class

Stashes a DBIx::Class::Schema::Loader object somewhere sensible for easy connections to databases

datasource:
...
'DBIxClass':
class : Infobot::Plugin::DataSource::DBIxClass
alias : dbix
extras:
dsn : dbi:SQLite:brains/factoids.db
user : abc
pass : cba

Where to stash this. As you can have connections to more than one database, this is useful for differentiating.
dsn, user, pass as per database connections.

Pete Sergeant -- pete@clueball.com

Copyright Pete Sergeant.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.