ModuleDocumentation/whatbot/Connection/Table/Soup.pm

< Back to Module Documentation // View in SVN

NAME

whatbot::Connection::Table::Soup - Allows commands access to a data "soup".

SYNOPSIS

 use whatbot::Connection::Table::Soup;

DESCRIPTION

whatbot::Connection::Table::Soup allows commands to have access to a data "soup". This provides simple key->value database support to commands that don't require multiple column relationships. Handy for preferences, or simple data point updates. Auto handles update-or-create, expunging entries, etc.

METHODS

set( $key, $value )
Set a key/value pair. Auto creates an entry if it doesn't exist, or updates the existing entry.
get( $key )
Get a value for the specified key. Returns undef if the key doesn't exist in the database.

INHERITANCE

LICENSE/COPYRIGHT

Be excellent to each other and party on, dudes.