NAME

Bot::BasicBot::Pluggable::Store::DBI - A database B::B::P store

SYNOPSIS

my $store = Bot::BasicBot::Pluggable::Store::DBI->new(
  dsn => "dbi:mysql:bot",
  user => "user",
  password => "password",
  table => "brane",
);

$store->set( "namespace", "key" => "value" );

DESCRIPTION

This is a Bot::BasicBot::Pluggable::Store that uses a database to store the values set by modules. Complex values are stored using Storable.

METHODS

SEE ALSO

AUTHOR

Tom