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

Perinci::ToUtil - Temporary utility module

VERSION

This document describes version 0.58 of Perinci::ToUtil (from Perl distribution Perinci-To-Doc), released on 2014-12-11.

SYNOPSIS

 use Perinci::ToUtil qw(sah2human_short);

 say sah2human_short("int"); # -> int
 say sah2human_short(["int", {req=>1, min=>0}]); # -> int
 say sah2human_short(["any", of=>["int*", [array=>of=>'int*']]]); # -> int|array

FUNCTIONS

sah2human_short($sch) -> str

Generate human-readable short description of schema, basically just type name (e.g. int) or a list of type names (e.g. code|hash). This is a temporary function and will be handled in the future by Data::Sah using the human compiler.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Perinci-To-Doc.

SOURCE

Source repository is at https://github.com/perlancar/perl-Perinci-To-Doc.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-To-Doc

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by perlancar@cpan.org.

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