in reply to Re: RFC: Perl<->JSON<->YAML<->Dumper : roundtripping and possibly with unicode
in thread RFC: Perl<->JSON<->YAML<->Dumper : roundtripping and possibly with unicode
Thanks for this check. I have fixed the last one. And also the last Warning (line 410), it was an empty section. But I don't understand the other warnings. (plus my podchecker for perl v5.28.2 does not show these warnings). this is the context fro one of those:
=head2 perl2yaml($perlvar, $optional_paramshashref) Given an input C<$perlvar> (which can be a simple scalar or a nested data structure, but not an object), it will return the equivalent YAML string. In C<$optional_paramshashref> one can specify whether to escape unicode with C<'escape-unicode'=E<gt>1>. Prettify is not supported yet. The output can fed to L<Data::Roundtrip::yaml2perl> for getting the Perl variable back.
also, do you have an opinion about having function names with params? I don't like it when I read a manual and it mentions only sub names. So I made it very explicit what it takes in
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: Perl<->JSON<->YAML<->Dumper : roundtripping and possibly with unicode
by kcott (Archbishop) on Apr 10, 2020 at 05:13 UTC | |
by bliako (Abbot) on Apr 10, 2020 at 14:06 UTC |