| Bot-BasicBot-Pluggable documentation | view source | Contained in the Bot-BasicBot-Pluggable distribution. |
Bot::BasicBot::Pluggable::Store::DBI - use DBI to provide a storage backend
version 0.93
my $store = Bot::BasicBot::Pluggable::Store::DBI->new(
dsn => "dbi:mysql:bot",
user => "user",
password => "password",
table => "brane",
# create indexes on key/values?
create_index => 1,
);
$store->set( "namespace", "key", "value" );
This is a Bot::BasicBot::Pluggable::Store that uses a database to store the values set by modules. Complex values are stored using Storable.
Mario Domgoergen <mdom@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Bot-BasicBot-Pluggable documentation | view source | Contained in the Bot-BasicBot-Pluggable distribution. |