Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Environment variableby lostjimmy (Chaplain) |
on Mar 12, 2010 at 13:54 UTC ( [id://828295]=note: print w/replies, xml ) | Need Help?? |
What, exactly, is your question? If you want to compare more env variables, just add more comparisons.
To make it easy, you can put your environment variables and their expected values in a hash, then make the comparisons in some kind of a loop.
In Section
Seekers of Perl Wisdom
|
|