Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
On Perl 5.003 it produces:use Env; $ENV{'MYVAR'} = '123'; $ENV{'myvar'} = '123'; Env::import; print "\$MYVAR: $MYVAR\n" , "\$myvar: $myvar\n";
On Perl 5.8.7 it produces:$MYVAR: 123 $myvar: 123
Can andyone suggest what is happening? We have a large amount of code that depends on both variables being set. (I didn't write this stuff!)$MYVAR: 123 $myvar:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Env module problem
by ikegami (Patriarch) on Jun 07, 2006 at 18:15 UTC | |
|
Re: Env module problem
by socketdave (Curate) on Jun 07, 2006 at 18:22 UTC |