Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

YAML Implementation for Perl 6

branch: master
README
== YAML

This is the pure Perl 6 implementation of YAML.

    use YAML;
    say dump($any_perl_object);

== BENEFITS

At this point in Perl 6, using YAML is the only way to dump an object
graph to text. The `.perl` method will stop at object nodes, rather than
dumping them further. The `.perl` method also cannot dump cyclic data
graphs. YAML.pm handles these things fine.

== CAVEATS

At this early point in time, only the dump() operation is supported. You
cannot use this module to load YAML streams into memory objects.

Also, this early version of YAML.pm should only be used for
_visualizing_ (dumping) complex data. The output quite possibly might
not be perfectly valid YAML, so don't use this module for data
communication just yet.

== INSTALLATION

Use `ufo`. http://github.com/masak/ufo

    > cd yaml-pm6
    > ufo
    > make test    # requires testml - http://github.com/ingydotnet/testml-pm6
    > make install

== COPYRIGHT

Copyright 2010. Ingy döt Net.

This module is free software; you can
redistribute it and/or modify it under the terms of the Artistic
License 2.0. For details, see the full text of the license in the file
LICENSE.

This program is distributed in the hope that it will be useful, but it
is provided “as is” and without any express or implied warranties. For
details, see the full text of the license in the file LICENSE.
Something went wrong with that request. Please try again.