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

Olivier Mengué (dolmen) - 2011-03-23T04:33:18 (permalink)

2 out of 3 found this review helpful. Was this review helpful to you?  Yes No