<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Getopt::Long::Util - Utilities for Getopt::Long

VERSION
    This document describes version 0.77 of Getopt::Long::Util (from Perl
    distribution Getopt-Long-Util), released on 2014-07-23.

FUNCTIONS
  parse_getopt_long_opt_spec($str) =&gt; hash
    Parse Getopt::Long option specification. Will produce a hash with some
    keys: "opts" (array of option names, in the order specified in the opt
    spec), "type" (string, type name), "desttype" (either '', or '@' or
    '%'), "is_neg" (true for "--opt!"), "is_inc" (true for "--opt+"),
    "min_vals" (int, usually 0 or 1), "max_vals" (int, usually 0 or 1 except
    for option that requires multiple values),

    Will return undef if it can't parse $str.

    Examples:

     $res = parse_getopt_long_opt_spec('help|h|?'); # {opts=&gt;['help', 'h', '?'], type=&gt;undef}
     $res = parse_getopt_long_opt_spec('--foo=s');  # {opts=&gt;['foo'], type=&gt;'s', min_vals=&gt;1, max_vals=&gt;1}

  humanize_getopt_long_opt_spec($str) =&gt; str
    Convert Getopt::Long option specification like "help|h|?" or &lt;--foo=s&gt;
    or "debug!" into, respectively, "--help, -h, -?" or "--foo=s" or
    "--(no)debug". Will die if can't parse $str. The output is suitable for
    including in help/usage text.

SEE ALSO
    Getopt::Long

HOMEPAGE
    Please visit the project's homepage at
    &lt;https://metacpan.org/release/Getopt-Long-Util&gt;.

SOURCE
    Source repository is at
    &lt;https://github.com/sharyanto/perl-Getopt-Long-Util&gt;.

BUGS
    Please report any bugs or feature requests on the bugtracker website
    &lt;https://rt.cpan.org/Public/Dist/Display.html?Name=Getopt-Long-Util&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.

AUTHOR
    Steven Haryanto &lt;stevenharyanto@gmail.com&gt;

COPYRIGHT AND LICENSE
    This software is copyright (c) 2014 by Steven Haryanto.

    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>