Scroll to navigation

MooX::Options::Role(3pm) User Contributed Perl Documentation MooX::Options::Role(3pm)
 

NAME

MooX::Options::Role - role that is apply to your object

VERSION

version 4.012

METHODS

new_with_options

Same as new but parse ARGV with Getopt::Long::Descriptive
Check full doc MooX::Options for more details.

parse_options

Parse your options, call Getopt::Long::Descriptive and convert the result for the "new" method.
It is use by "new_with_options".

options_usage

Display help message.
Check full doc MooX::Options for more details.

options_short_usage

Display quick usage message, with only the list of options

options_man

Display a pod like a manual

USAGE

Don't use MooX::Options::Role directly. It is used by MooX::Options to upgrade your module. But it is useless alone.

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/celogeek/MooX-Options/issues
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

celogeek <me@celogeek.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by celogeek <me@celogeek.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2014-10-14 perl v5.20.1