File::Gettext::Storage - Split/merge language dependent data
This is a proxy for the storage class. In general, for each call made to a storage method this class makes two instead. The "second" call handles attributes stored in the language dependent file
Defines the attributes
lang
Two character language code
schema
A weakened reference to the schema object
storage
Instance of File::DataClass::Storage
$bool = $self->delete( $path, $result );
Deletes the specified element object returning true if successful. Throws an error otherwise
$data = $self->dump( $path, $data );
Exposes "dump" in File::DataClass::Storage in the storage class
$bool = $self->insert( $path, $result );
Inserts the specified element object returning true if successful. Throws an error otherwise
$data = $self->load( $path );
Exposes "load" in File::DataClass::Storage in the storage class
$hash_ref = $self->select( $element );
Returns a hash ref containing all the elements of the type specified in the result source
$bool = $self->update( $path, $result );
Updates the specified element object returning true if successful. Throws an error otherwise
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Peter Flanigan, <pjfl@cpan.org>
<pjfl@cpan.org>
Copyright (c) 2016 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
To install File::Gettext, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Gettext
CPAN shell
perl -MCPAN -e shell install File::Gettext
For more information on module installation, please visit the detailed CPAN module installation guide.