File::DataClass::Storage::XML::Bare - Read/write XML data storage model
0.8.$Revision: 351 $
use Moose; extends qw(File::DataClass::Schema); has '+storage_class' => default => q(XML::Bare);
Uses XML::Bare to read and write XML files
Defines the closure that reads the file, parses the DTD, parses the file using XML::Bare and filters the resulting hash so that it is compatible with XML::Simple. Calls read file with locking in the base class
Processes the hash read by "_read_file" altering it's structure so that is is compatible with XML::Simple
Defines the closure that writes the DTD and data to file. Filters the data so that it is readable by XML::Bare
Reverses the changes made by "_read_filter"
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, <Support at RoxSoft.co.uk>
<Support at RoxSoft.co.uk>
Copyright (c) 2009 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::DataClass, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::DataClass
CPAN shell
perl -MCPAN -e shell install File::DataClass
For more information on module installation, please visit the detailed CPAN module installation guide.