Name
File::DataClass::Storage::XML::Bare - Read/write XML data storage model
Version
0.16.$Revision: 437 $
Synopsis
use Moose;
extends qw(File::DataClass::Schema);
has '+storage_class' => default => q(XML::Bare);
Description
Uses XML::Bare to read and write XML files
Subroutines/Methods
_read_file
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
_read_filter
Processes the hash read by "_read_file" altering it's structure so that is is compatible with XML::Simple
_write_file
Defines the closure that writes the DTD and data to file. Filters the data so that it is readable by XML::Bare
_write_filter
Reverses the changes made by "_read_filter"
Diagnostics
None
Configuration and Environment
None
Dependencies
Incompatibilities
There are no known incompatibilities in this module
Bugs and Limitations
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Author
Peter Flanigan, <Support at RoxSoft.co.uk>
License and Copyright
Copyright (c) 2013 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