Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 wandering the Monastery: (5)
As of 2020-12-01 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (10 votes). Check out past polls.

    Notices?