---
name: "Bot::BasicBot::Pluggable::Store::DBI"
section: "3pm"
platform: "linux"
package: "libbot-basicbot-pluggable-perl"
version: "1.30+ds1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Bot::BasicBot::Pluggable::Store::DBI"
---

# Bot::BasicBot::Pluggable::Store::DBI(3pm)

use DBI to provide a storage backend

## NAME

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

## VERSION

version 1.30

## 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

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.
