Do you know where your variables are? | |
PerlMonks |
Re: Perl and your environmentby myocom (Deacon) |
on Jul 24, 2001 at 21:40 UTC ( [id://99421]=note: print w/replies, xml ) | Need Help?? |
& is not the concatenation operator in Perl. What you're looking for is the dot. For this example, there's no need to use it, though. Also, there's no reason to use backticks to get environment variables; they're stored in the %ENV hash.
In Section
Seekers of Perl Wisdom
|
|