The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

YATT::Lite::XHF::Dumper - Serializer for XHF format

SYNOPSIS

require YATT::Lite::XHF::Dumper;
print YATT::Lite::XHF::Dumper->dump_xhf(foo => [1..3], bar => {baz => "qux"});

# or use this as mixin:
use YATT::Lite::XHF::Dumper;
print __PACKAGE__->dump_xhf(foo => [1..3], bar => {baz => "qux"});

Then you will get a xhf-block:

foo[
- 1
- 2
- 3
]
bar{
baz: qux
}

DESCRIPTION

This is a serializer for XHF.

AUTHOR

"KOBAYASI, Hiroaki" <hkoba@cpan.org>

LICENSE

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