Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Deleting undef values from a hash

by Zaxo (Archbishop)
on Dec 14, 2003 at 00:55 UTC ( #314590=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @actual_values = delete @a{ grep { exists $a{$_}} @somekeys};

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://314590]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-07-26 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (383 votes). Check out past polls.