Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Answer: How do I empty out a hash?

by Aristotle (Chancellor)
on Oct 04, 2003 at 16:10 UTC ( #296526=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    delete @hash{(keys %hash)};
    
  2. or download this
    delete @foo{(keys %bar)};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2022-11-26 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?