parse-getopt-long-spec - Parse Getopt::Long option specification
This document describes version 0.006 of parse-getopt-long-spec (from Perl distribution App-GetoptLongUtils), released on 2017-08-10.
% 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
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.
parse_getopt_long_opt_spec
Please visit the project's homepage at https://metacpan.org/release/App-GetoptLongUtils.
Source repository is at https://github.com/perlancar/perl-App-GetoptLongUtils.
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.
Getopt::Long
Getopt::Long::Util
perlancar <perlancar@cpan.org>
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.
To install App::GetoptLongUtils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::GetoptLongUtils
CPAN shell
perl -MCPAN -e shell install App::GetoptLongUtils
For more information on module installation, please visit the detailed CPAN module installation guide.