Scroll to navigation

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

NAME

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

USAGE

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

METHODS

These methods will be composed into your class

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_help

Display long usage message

options_short_usage

Display quick usage message, with only the list of options

options_man

Display a pod like a manual

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc MooX::ConfigFromFile

You can also look for information at:

AUTHOR

celogeek <me@celogeek.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by celogeek <me@celogeek.com>.

This software is copyright (c) 2017 by Jens Rehsack.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2019-04-03 perl v5.40.0