NAME

parse-getopt-long-spec - Parse Getopt::Long option specification

VERSION

This document describes version 0.006 of parse-getopt-long-spec (from Perl distribution App-GetoptLongUtils), released on 2017-08-10.

SYNOPSIS

% parse-getopt-long-spec --foo=s '--bar!' '--baz=i@'
--foo=s: {dash_prefix=>"--",desttype=>"",opts=>["foo"],type=>"s"}
--bar!: {dash_prefix=>"--",is_neg=>1,opts=>["bar"]}
--baz=i@: {dash_prefix=>"--",desttype=>"\@",opts=>["baz"],type=>"i"}
/x: undef

DESCRIPTION

This is a helper script. You feed it one or more option specifications and the script will parse them using Getopt::Long::Util's parse_getopt_long_opt_spec and show you the results.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-GetoptLongUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-GetoptLongUtils.

BUGS

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

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

Getopt::Long

Getopt::Long::Util

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017, 2016 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.