Thomas Wittek > Konstrukt > Konstrukt::Plugin::env

Download:
konstrukt/Konstrukt-0.5-beta13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

NAME ^

Konstrukt::Plugin::env - Access to the environment variables

SYNOPSIS ^

Usage:

        <!-- set value -->
        <& env var="var_name" set="value" / &>

        <!-- print out value -->
        <& env var="var_name" / &>

Result:

        <!-- set value -->

        <!-- print out value -->
        value

DESCRIPTION ^

This plugin will set or display specified environment variables.

ACTIONS ^

default

Put out the value of the passed ENV-variable or sets an ENV-variable.

Checks the passed tag for attributes like var="varname" and set="value".

With only var being passed, the according value of the environment will be put out.

With additionaly set being passed, the according value of the environment will be changed and nothing will be put out.

AUTHOR ^

Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.

This document is free software. It is distributed under the same terms as Perl itself.

SEE ALSO ^

Konstrukt::SimplePlugin, Konstrukt