++ed by:

1 non-PAUSE user.

Al Newkirk

NAME

Bubblegum::Wrapper::Yaml - Bubblegum Wrapper around YAML Serialization

VERSION

version 0.26

SYNOPSIS

    use Bubblegum;

    my $data = {1..3,{4,{5,6,7,{8,9,10,11}}}};

    my $string  = $data->yaml->encode;
    my $hashref = $string->yaml->decode;

DESCRIPTION

Bubblegum::Wrapper::Yaml is a Bubblegum wrapper which provides the ability to endcode/decode YAML data structures. It is not necessary to use this module as it is loaded automatically by the Bubblegum class. Note, in order to use this wrapper you will need to have YAML::Tiny installed which is not a required Bubblegum dependency and should have been installed separately.

METHODS

decode

The decode method deserializes the stringified YAML structure using the YAML::Tiny module.

encode

The encode method serializes the Perl data structure using the YAML::Tiny module.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.