NAME
MooX::HasEnv - Making attributes based on ENV variables
VERSION
version 0.004
SYNOPSIS
package MyApp::Config;
use MooX::HasEnv; # also adds use Moo;
has_env var => MYAPP_VARIABLE => '0';
has_env var_name => 'MYAPP_VARIABLE_NAME'; # no default
has_env foo => undef, '2';
use Path::Class;
has_env root => MYAPP_ROOT => file(__FILE__)->parent->parent->parent->absolute."";
DESCRIPTION
SUPPORT
IRC
Join #web-simple on irc.perl.org. Highlight Getty for fast reaction :).
Repository
http://github.com/Getty/p5-moox-hasenv
Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-moox-hasenv/issues
AUTHOR
Torsten Raudssus <torsten@raudss.us>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.