note
Utilitarian
Two things, you need to tell the Perl interpreter to execute the code rather than look for a file of that name and the environment variables will not be set int the parent process (your shell) only in the Perl process and its children.
<p>
So while <c>perl -e "$ENV{LIBDIR'}='C:\SOMEFOLDER';"</c> would create the varable, it would cease to exist when Perl exited.
<p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-681898">
<c>print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."</c>
</div></div>
930628
930666