Have you considered using Package::Variant instead of the environment variable MRC_NO_STDOPTS to configure the role?
The environment variable might lead to inconsistent behaviour if an application includes multiple classes that all consume your role, with some of them wanting MRC_NO_STDOPTS to be true and others wanting it to be false.
In reply to Re: Moo and command line scripts
by tobyink
in thread Moo and command line scripts
by boftx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |