No such thing as a small change | |
PerlMonks |
Re^4: Burned by precedence rulesby GrandFather (Saint) |
on Dec 26, 2008 at 20:45 UTC ( [id://732705]=note: print w/replies, xml ) | Need Help?? |
I absolutly agree that unless often becomes very confusing with more than one element in the condition and almost always use if in that case. I'm in (southern hemisphere) holiday mode at the moment so my head isn't fully in Perl space. I focused on the two nots rather than the 'and' and actually in the specific case given I think the result conveys the intent better than the if version - no De Morganizing required. Perl's payment curve coincides with its learning curve.
In Section
Meditations
|
|