![]() |
|
P is for Practical | |
PerlMonks |
Re: && and neby kilinrax (Deacon) |
on Feb 08, 2001 at 22:25 UTC ( #57226=note: print w/replies, xml ) | Need Help?? |
Try using brackets to define the way you want that statement evaluated more precisely:
Update: well it seems that 'ne' has a higher precedence than '&&', so the above code should work. I tend to use brackets out of habit anyway, as they make the code easier to read.
In Section
Seekers of Perl Wisdom
|
|