Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Building ARRAY with grep expression NOT working

by GrandFather (Sage)
on Apr 01, 2020 at 07:29 UTC ( #11114883=note: print w/replies, xml ) Need Help??

in reply to Re^2: Building ARRAY with grep expression NOT working
in thread Building ARRAY with grep expression NOT working

open ... or ...

is Perl idiom and completely acceptable.

... and ...;

in place of

... if ...;

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

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114883]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2020-09-27 17:13 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (142 votes). Check out past polls.