![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Re: Re: Re: Re: Re: OR operatorby DrManhattan (Chaplain) |
on Apr 11, 2003 at 09:50 UTC ( #249844=note: print w/replies, xml ) | Need Help?? |
I read $_ as "the thing" or "it". How do you read $_? The original poster wanted this: My second post essentially stated ... ... and dynamically replaced $_ with "blue", "red", or "green". Thus to me, $_ eq $color is like stating ... ... which isn't intuitive. -Matt
In Section
Seekers of Perl Wisdom
|
|