Wait, What about Perl 6?
- Oh right, I haven't mentioned it much, but:
- At the Toolchain Summit Tony O'Dell implemented a very simple YAML Loader
- by writing a binding to libyaml
- Bindings to C libraries are easier than in perl5
- At the same time, Curt Tilmes, not at the Summit, did the same thing, but more complete
- We took over Curt's code to write it the same way we would like to have the perl5 API look like
- I've been hacking on this during the last weeks, and you can already use it
- Only Tags aren't implemented yet
- The inner API will change, the outer probably not
use v6;
use YAML;
my %hash = yaml.load($yaml);
my @documents = yaml.all.load($yaml);