Alex > Catalyst-Plugin-ENV-0.02 > Catalyst::Plugin::ENV

Download:
Catalyst-Plugin-ENV-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Catalyst::Plugin::ENV - getter for value from enviroment

DESCRIPTION ^

In some tasks in catalyst app - you need value for your variable from %ENV When catapp works as fcgi server - you can get this values from $c->engine->env If you run devel catalyst server - you can get this values from %ENV The plugin give you availablity to get value from enviroment with one method get_env_value

METHODS ^

get_env_value

Getter for value from environment Input param:

c<name>

If scalar - name to get value from environment If array ref - array ref to get value from environment

AUTHOR ^

 PLCGI C<plcgi1 (-) gmail.com>

LICENSE ^

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: