Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 meditating upon the Monastery: (5)
As of 2016-07-25 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (230 votes). Check out past polls.