parrotcode: PIR version of a YAML dumper, ala Data::Dumper | |
Contents | Libraries |
yaml_dumper.pir - PIR version of a YAML dumper, ala Data::Dumper
version 0.1
...
# dump the P0 register
yaml( P0 )
# dump the P0 register, with "name"
yaml( P0, "name" )
...
END
.include "library/yaml_dumper.pir"
PIR implementation of Perl 5's Data::Dumper module to dump YAML format.
This library provides the following functions:
print
._sort()
(library/sort.pir)typeof
op. sub = find_name "_dump_PerlArray"
_register_dumper( .PerlArray, sub )
__dump
exists in the namespace of the class, it will be called with the current dumper object and the label of the PMC.Jens Rieks <parrot at jensbeimsurfen dot de> is the author and maintainer. Please send patches and suggestions to the Perl 6 Internals mailing list.
Copyright (C) 2004-2008, The Perl Foundation.
|