Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite

Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite is a SQLite storage for Bot::BasicBot::Pluggable::Module::SimpleBlog
Download

Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kake Pugh
  • Publisher web site:
  • http://search.cpan.org/~kake/URI-Find-Delimited-0.02/lib/URI/Find/Delimited.pm

Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite Tags


Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite Description

Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite is a SQLite storage for Bot::BasicBot::Pluggable::Module::SimpleBlog Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite is a SQLite storage for Bot::BasicBot::Pluggable::Module::SimpleBlog.SYNOPSIS use Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite; my $blog_store = Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite->new( "/home/bot/brane.db" );Store URLs in a sqlite database for Bot::BasicBot::Pluggable::Module::SimpleBot.IMPORTANT NOTE WHEN UPGRADING FROM PRE-0.02 VERSIONSI'd made a thinko in version 0.01 in one of the column names in the table used to store the URLs in the database, so you'll have to delete your store file and start again. It didn't seem worth automatically detecting and fixing this since I only released 0.01 yesterday and I don't expect anyone to have installed it yet.METHODSnew my $blog_store = Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite->new( "/home/bot/brane.db" );You must supply a filename writeable by the user the bot runs as. The file need not already exist; it will be created and the correct database schema set up as necessary.Croaks if DBD::SQLite fails to connect to the file.dbh my $dbh = $store->dbh;Returns the store's database handle.store $store->store( timestamp => $timestamp, name => $who, channel => $channel, url => $url, comment => $comment );Stores the given information in the database. Croaks on error. Requirements: · Perl


Bot::BasicBot::Pluggable::Module::SimpleBlog::Store::SQLite Related Software