Perl Monk, Perl Meditation | |
PerlMonks |
Re: $x | $y | $z = $z | ($x | $y) ?by sundialsvc4 (Abbot) |
on Sep 06, 2012 at 19:54 UTC ( [id://992178]=note: print w/replies, xml ) | Need Help?? |
And ... if I ever saw a statement like $a = $b | $c | $d in source-code, such that the meaning of $a or $b or $c had any possibility of any side-effects, or might possibly have any dependency on left- vs. right-hand precedence ... ... or really required any “thought” at all ... ... then I certainly would ... forsooth!! ... come after that person with a wet-noodle, because he or she surely has ... forsooth!! ... visited upon me an unholy maintenance nightmare. Please, be kind to me, the programmer who is trying to deal with your code five years after you got smooshed by that taxi. Please do not be “clever.” Please.
In Section
Seekers of Perl Wisdom
|
|