Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Suggestion on rewriting small code

by Tux (Abbot)
on Aug 22, 2019 at 08:27 UTC ( #11104844=note: print w/replies, xml ) Need Help??


in reply to Re: Suggestion on rewriting small code
in thread Suggestion on rewriting small code

Yet one more variation to put it in a single line. But this is getting obfuscated :)

my $str = do {local$"=" || ";qq{"@{[map{qq{job==$_}}@arr]}"}};

Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2019-09-17 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (215 votes). Check out past polls.

    Notices?