App::Zapzi::Articles - routines to access Zapzi articles
version 0.004
These routines allow access to Zapzi articles via the database.
Returns a resultset of articles that are in $folder.
$folder
Returns the resultset for the article identified by id.
id
Prints to STDOUT a summary of articles in folder.
folder
Adds a new article. args is a hash that must contain
args
title - title of the article
title
folder - name of the folder to store it in
text - text of the article
text
The routine will croak if the wrong args are provided, if the folder does not exist or if the article can't be created in the database.
Move the given article to folder new_folder. Will croak if the folder or article does not exist.
new_folder
Deletes article id if it exists. Returns the DB result status for the deletion.
Rupert Lane <rupert@rupert-lane.org>
This software is copyright (c) 2013 by Rupert Lane.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Zapzi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Zapzi
CPAN shell
perl -MCPAN -e shell install App::Zapzi
For more information on module installation, please visit the detailed CPAN module installation guide.