Template::Plugin::YAMLVal - yamlval vmethod for Template Toolkit
[% USE YAMLVal %] foo: [% foo.yamlval %] bar: [% bar.yamlval %]
This module lets you use Template Toolkit to write out YAML mapping files in a certain top level key order, while making sure that the keys are properly YAML encoded.
There may be other use cases, but that's the one that drove me to write this.
Ingy döt Net <ingy@cpan.org>
Copyright 2011-2014. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Template::Plugin::YAMLVal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::YAMLVal
CPAN shell
perl -MCPAN -e shell install Template::Plugin::YAMLVal
For more information on module installation, please visit the detailed CPAN module installation guide.