Kake L Pugh > CGI-Wiki-0.62 > CGI::Wiki::Store::SQLite

Download:
CGI-Wiki-0.62.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Module Version: 0.05   Source   Latest Release: CGI-Wiki-0.63

NAME ^

CGI::Wiki::Store::SQLite - SQLite storage backend for CGI::Wiki

SYNOPSIS ^

See CGI::Wiki::Store::Database

METHODS ^

new
  my $store = CGI::Wiki::Store::SQLite->new( dbname => "wiki" );

The dbname parameter is mandatory.

check_and_write_node
  $store->check_and_write_node( node     => $node,
                                checksum => $checksum,
                                %other_args );

Locks the node, verifies the checksum, calls write_node_post_locking with all supplied arguments, unlocks the node. Returns 1 on successful writing, 0 if checksum doesn't match, croaks on error.