<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Perinci::Sub::Normalize - Normalize Rinci function metadata

VERSION
    This document describes version 0.202 of Perinci::Sub::Normalize (from
    Perl distribution Perinci-Sub-Normalize), released on 2021-08-01.

SYNOPSIS
     use Perinci::Sub::Normalize qw(normalize_function_metadata);

     my $nmeta = normalize_function_metadata($meta);

CONTRIBUTOR
    Steven Haryanto &lt;sharyanto@cpan.org&gt;

FUNCTIONS
  normalize_function_metadata($meta[ , \%opts ]) =&gt; HASH
    Normalize and check Rinci function metadata $meta. Return normalized
    metadata, which is a shallow copy of $meta. Die on error.

    Available options:

    *   allow_unknown_properties =&gt; BOOL (default: 0)

        If set to true, will die if there are unknown properties.

    *   normalize_sah_schemas =&gt; BOOL (default: 1)

        By default, Sah schemas e.g. in "result/schema" or "args/*/schema"
        property is normalized using Data::Sah's "normalize_schema". Set
        this to 0 if you don't want this.

    *   remove_internal_properties =&gt; BOOL (default: 0)

        If set to 1, all properties and attributes starting with underscore
        ("_") with will be stripped. According to DefHash specification,
        they are ignored and usually contain notes/comments/extra
        information.

HOMEPAGE
    Please visit the project's homepage at
    &lt;https://metacpan.org/release/Perinci-Sub-Normalize&gt;.

SOURCE
    Source repository is at
    &lt;https://github.com/perlancar/perl-Perinci-Sub-Normalize&gt;.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    &lt;https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Sub-Normalize
    &gt;

    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.

SEE ALSO
    Rinci::function

AUTHOR
    perlancar &lt;perlancar@cpan.org&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2021, 2018, 2016, 2015, 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.

</pre></body></html>