| setenv documentation | view source | Contained in the setenv distribution. |
setenv - conveniently (re)set %ENV variables at compile time
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,
;
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.
This documentation describes version 0.03.
There are no methods.
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.
(none)
Elizabeth Mattijsen
Copyright (c) 2008 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| setenv documentation | view source | Contained in the setenv distribution. |