Toader::Page::Manage - Manage pages for a specified Toader directory.
Version 0.0.1
use Toader::Page::Manage;
This initiates the object.
After calling this, you should call setDir to set the directory to use.
my $foo = Toader::Page::Manage->new();
This lists the available pages.
my @pages=$foo->list; if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); }
This reads a page.
One argument is required and it is entry name.
The returned value is a Toader::Page object.
my $page=$foo->read($pageName); if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); }
This removes a page.
One argument is required and it is page name.
$foo->remove($page); if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); }
This sets the directory the module will work on.
One argument is taken and that is the path for the Toader directory in question.
$foo->setDir($toaderDirectory) if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); }
No directory specified.
isaToaderDir errored.
Is not a Toader directory.
No directory has been defined.
Failed to open the directory.
No entry specified.
The entry is not a valid name.
The entry does not exist.
Failed to unlink the entry.
Unable to open the page file for reading.
Unable to generate a Toader::Page object from the file.
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-toader at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-toader at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Toader::Page::Manage
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Toader
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Toader
CPAN Ratings
http://cpanratings.perl.org/d/Toader
Search CPAN
http://search.cpan.org/dist/Toader/
Copyright 2011 Zane C. Bowers-Hadley.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Toader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Toader
CPAN shell
perl -MCPAN -e shell install Toader
For more information on module installation, please visit the detailed CPAN module installation guide.