NAME
ETL::Yertl::Format::yaml - YAML read/write support for Yertl
VERSION
version 0.034
ATTRIBUTES
format_module
The module being used for this format. Possible modules, in order of importance:
- YAML::XS (any version)
- YAML::Syck (any version)
- YAML (any version)
- YAML::Tiny (any version)
METHODS
write( DOCUMENTS )
Convert the given DOCUMENTS
to YAML. Returns a YAML string.
read()
Read a YAML string from input and return all the documents.
decode
my $msg = $yaml->decode( $bytes );
Decode the given bytes into a single data structure. $bytes
must be a single YAML document.
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.