NAME
Konstrukt::Plugin::env.pm - Access to the environment variables
SYNOPSIS
<!-- set value -->
<& env var="var_name" set="value"/ &>
<!-- print out value -->
<& env var="var_name" / &>
DESCRIPTION
This plugin will set or display specified environment variables.
METHODS
prepare
An environment variable is volatile. We don't want to cache it...
Parameters:
$tag - Reference to the tag (and its children) that shall be handled.
execute
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.
Parameters:
$tag - Reference to the tag (and its children) that shall be handled.
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.