Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Consise way to filter out keys with undef values from a hash slice?

by choroba (Cardinal)
on Jun 02, 2020 at 10:00 UTC ( [id://11117592]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Consise way to filter out keys with undef values from a hash slice?
in thread Consise way to filter out keys with undef values from a hash slice?

Then I've probably misunderstood the part of your post I quoted.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^5: Consise way to filter out keys with undef values from a hash slice?
by kcott (Archbishop) on Jun 02, 2020 at 10:02 UTC

    No worries. :-)

    — Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-28 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found