Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Deleting hash entry

by hotshot (Prior)
on Dec 16, 2003 at 14:53 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2024-04-18 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found