dtRdr::Annotation::IO::YAML - read/write annotations from/to yml files
$io->init;
%store = $self->_read_store($ext);
Return hashrefs for everything. This gets called by base class methods if it can't find a smarter way to search.
@items = $io->items;
Return the hashrefs for a given book.
@items = $io->items_for($book);
Likely to be replaced by something more general.
@items = $io->deleted;
$io->insert($object, %args);
$io->delete($object, %args);
$io->update($object, %args);
Intended for non-object manipulations of the data-store, but keeping the internal IO object's state intact.
These should behave roughly like DBI operations with autocommit and raise_error.
$io->s_insert($id, $hashref, $book);
$io->s_update($id, $hashref, $book);
$io->s_delete($id, $book);
my $hashref = $io->x_read($id);
$io->x_insert($id, $hashref);
$io->x_update($id, $hashref);
$object = $io->x_delete($id);
$self->x_finish_delete($id);
$self->_filename($id);
Eric Wilhelm <ewilhelm at cpan dot org>
http://scratchcomputing.com/
Copyright (C) 2006 Eric L. Wilhelm and Osoft, All Rights Reserved.
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
The dotReader(TM) is OSI Certified Open Source Software licensed under the GNU General Public License (GPL) Version 2, June 1991. Non-encrypted and encrypted packages are usable in connection with the dotReader(TM). The ability to create, edit, or otherwise modify content of such encrypted packages is self-contained within the packages, and NOT provided by the dotReader(TM), and is addressed in a separate commercial license.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
To install dtRdr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm dtRdr
CPAN shell
perl -MCPAN -e shell install dtRdr
For more information on module installation, please visit the detailed CPAN module installation guide.