CGI::Wiki::Store::Database

CGI::Wiki::Store::Database is a parent class for database storage backends for CGI::Wiki.
Download

CGI::Wiki::Store::Database Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • CGI::Wiki team
  • Publisher web site:
  • http://search.cpan.org/~dom/CGI-Wiki-0.63/lib/CGI/Wiki/Store/Database.pm

CGI::Wiki::Store::Database Tags


CGI::Wiki::Store::Database Description

CGI::Wiki::Store::Database is a parent class for database storage backends for CGI::Wiki. CGI::Wiki::Store::Database is a parent class for database storage backends for CGI::Wiki.SYNOPSISCan't see yet why you'd want to use the backends directly, but: # See below for parameter details. my $store = CGI::Wiki::Store::MySQL->new( %config );METHODSnew my $store = CGI::Wiki::Store::MySQL->new( dbname => "wiki", dbuser => "wiki", dbpass => "wiki", dbhost => "db.example.com", charset => "iso-8859-1" );ormy $store = CGI::Wiki::Store::MySQL->new( dbh => $dbh );charset is optional, defaults to iso-8859-1, and does nothing unless you're using perl 5.8 or newer.If you do not provide an active database handle in dbh, then dbname is mandatory. dbpass, dbuser and dbhost are optional, but you'll want to supply them unless your database's authentication method doesn't require it.If you do provide database then it must have the following parameters set; otherwise you should just provide the connection information and let us create our own handle:RaiseError = 1PrintError = 0AutoCommit = 1 Requirements: · Perl · DBI · Digest::MD5 · HTML::PullParser · Test::More · Test::Warn · Test::MockObject (version 0.07 or later) · Text::WikiFormat (version 0.45 or later) · Time::Piece


CGI::Wiki::Store::Database Related Software