NAME

Getopt::Long::Any - Use Getopt::Long::More, or Getopt::Long::Complete, or fallback to Getopt::Long

VERSION

This document describes version 0.002 of Getopt::Long::Any (from Perl distribution Getopt-Long-Any), released on 2016-12-23.

SYNOPSIS

use Getopt::Long::Any;

# will first try to use Getopt::Long::More, if unsuccessful then will try
# Getopt::Long::Complete, finally will fall back to Getopt::Long
GetOptions(
    'opt1=s' => sub { ... },
    'opt2=i' => \$opt2,
);

DESCRIPTION

This is an experiment module.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Getopt-Long-Any.

SOURCE

Source repository is at https://github.com/perlancar/perl-Getopt-Long-Any.

BUGS

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

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::More

Getopt::Long::Complete

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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