Skip to content
YAML Implementation for Raku
  1. Other 100.0%
Branch: master
Clone or download
This branch is 20 commits ahead of retupmoca:master.

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
lib fix CATCH block Apr 17, 2017
t Add META test Feb 9, 2019
.gitignore Aaa gitignore Feb 9, 2019
LICENSE Add LICENSE and update README to mention it. Aug 23, 2010
META6.json Add META test Feb 9, 2019 format Oct 10, 2019


This is the pure Perl 6 implementation of YAML.

use YAML;
say dump($any_perl_object);


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. handles these things fine.


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 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.


Use zef.

> # install latest CPAN version
> zef install YAML

> # -OR- install from git repo
> cd yaml-pm6
> zef --deps-only install .
> zef test .
> zef install .


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.

You can’t perform that action at this time.