mechanism to set default value of an attribute to a value from %ENV


MooseX::Attribute::ENV is a Moose attribute trait that you use when you want the default value for an attribute to be populated from the %ENV hash. This module has a few other features that offer merit, as well as being a simple enough attribute trait that it can serve as a learning tool.

If the named key isn't found in %ENV, then defaults will execute as normal.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libmoosex-attribute-env-perl