in reply to Moo and command line scripts
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moo and command line scripts
by boftx (Deacon) on Nov 09, 2019 at 20:11 UTC | |
by tobyink (Canon) on Nov 11, 2019 at 08:42 UTC |