setenv - conveniently (re)set %ENV variables at compile time


setenv documentation  | view source Contained in the setenv distribution.

Index


NAME

Top

setenv - conveniently (re)set %ENV variables at compile time

SYNOPSIS

Top

 no setenv;                # BEGIN { %ENV = () }

 no setenv qw( FOO BAR );  # BEGIN { delete @ENV{ qw( FOO BAR ) } }

 use setenv                # BEGIN { $ENV{FOO} = 1, $ENV{BAR} = 2 }
   FOO => 1,
   BAR => 2,
 ;

DESCRIPTION

Top

Provide a simple way to (re)set %ENV variables at compile time. Usually used during debugging only. This is just syntactic sugar, without any additives.

VERSION

Top

This documentation describes version 0.03.

METHODS

Top

There are no methods.

THEORY OF OPERATION

Top

Since "import" and "noimport" are called by Perl at compile time when doing a use or no, it will perform any (re)setting of %ENV at that time.

REQUIRED MODULES

Top

 (none)

AUTHOR

Top

 Elizabeth Mattijsen

COPYRIGHT

Top


setenv documentation  | view source Contained in the setenv distribution.