Tom Insam > Bot-BasicBot-Pluggable > Bot::BasicBot::Pluggable::Store::DBI

Download:
Bot-BasicBot-Pluggable-0.60.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  1
View/Report Bugs
Source   Latest Release: Bot-BasicBot-Pluggable-0.98

NAME ^

Bot::BasicBot::Pluggable::Store::DBI - use DBI to provide a storage backend

SYNOPSIS ^

  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" );

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.

AUTHOR ^

Tom Insam <tom@jerakeen.org>

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

syntax highlighting: