NAME
MooX::HasEnv - Making attributes based on ENV variables
VERSION
version 0.004
SYNOPSIS
package
MyApp::Config;
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
Pull request and additional contributors are welcome
Issue Tracker
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.