---
name: "MooX::Options::Role"
section: "3pm"
platform: "linux"
package: "libmoox-options-perl"
version: "4.103-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MooX::Options::Role"
---

# MooX::Options::Role(3pm)

role that is apply to your object

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

- •

  RT: CPAN's request tracker (report bugs here)

  \<http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-ConfigFromFile\>

- •

  AnnoCPAN: Annotated CPAN documentation

  \<http://annocpan.org/dist/MooX-ConfigFromFile\>

- •

  CPAN Ratings

  \<http://cpanratings.perl.org/d/MooX-ConfigFromFile\>

- •

  Search CPAN

  \<http://search.cpan.org/dist/MooX-ConfigFromFile/\>

## 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.
