No such thing as a small change | |
PerlMonks |
Re^3: Building ARRAY with grep expression NOT workingby GrandFather (Saint) |
on Apr 01, 2020 at 07:29 UTC ( [id://11114883]=note: print w/replies, xml ) | Need Help?? |
is Perl idiom and completely acceptable.
in place of
is a sneaky use of a logical operator and short circuit evaluation that is more appropriate to golf than production code. I realise that eyes adapt over time, but explaining to a neophyte how and provides conditional code needs a lot more prose than explaining as postfix if.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|