Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
laziness, impatience, and hubris
 
PerlMonks  

Deleting hash entry

by hotshot (Prior)
on Dec 16, 2003 at 14:53 UTC ( #315063=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %hash = {
             abc => {
    ...
                     jkl => 1,
                    },
    };
    
  2. or download this
    delete($hash{abc}{def});
    
  3. or download this
    %hash = {
             abc => undef,
    ...
                     mno => 1,
                    },
    };
    
  4. or download this
    %hash = {
             ghi => {
    ...
                     mno => 1,
                    },
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-04-19 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (482 votes), past polls