setenv reviews

cpanratings
 

RSS | Module Info | Add a review of setenv

setenv (0.03) *****

Great module to change environment when running a Perl script on Win32:

Unix:

FOO=123 perl -e "print qq'$ENV{FOO}\n'"

FOO=123 ./myscript.pl
Win32:

perl -Msetenv=FOO,123 -e "print qq'$ENV{FOO}\n'"

perl -Msetenv=FOO,123 myscript.pl