Stupid Question

From: Jason Dusek (jason-dusek_at_uiowa.edu)
Date: 11/29/03


Date: Fri, 28 Nov 2003 20:26:55 -0600
To: Perl Perl <beginners@perl.org>

Hi Perl Beginners,

Let's say I have a hash of hashes. And I want to use it over and over
again, so I need to reinitialize it often. I suppose I could go
through each key in the hash of hashes, and go through each key in the
little hashes and use delete on each of them. But isn't there some
elegant way? Does Perl have a nuke() operator?

- Jason

One day there was an earthquake that shook the entire Zen temple. Parts
of it even collapsed. Many of the monks were terrified. When the
earthquake stopped the teacher said, "Now you have had the opportunity
to see how a Zen man behaves in a crisis situation. You may have
noticed that I did not panic. I was quite aware of what was happening
and what to do. I led you all to the kitchen, the strongest part of the
temple. It was a good decision, because you see we have all survived
without any injuries. However, despite my self-control and composure, I
did feel a little bit tense - which you may have deduced from the fact
that I drank a large glass of water, something I never do under
ordinary circumstances."
One of the monks smiled, but didn't say anything.
"What are you laughing at?" asked the teacher.
"That wasn't water," the monk replied, "it was a large glass of soy
sauce."



Relevant Pages

  • Re: People ~Fing with Life
    ... That is what the charge was. ... hash values and the like'. ... this data area had no corresponding entry in the allocation tables. ... Hashes are used for the purposes of error correction ...
    (uk.legal)
  • RE: [7.8.2002 44916] Notice of Copyright Infringement]
    ... Appending a single bit onto the end of the file makes a different hash. ... and you no longer match the hashes. ... The only way to prove you're breaking copyright is to download at ... |"real" warezed version of whatever movie. ...
    (Vuln-Dev)
  • Re: ACCEPT and the SCREEN SECTION.
    ... General-purpose hashes, for hash tables and similar data structures, ... In short, cryptographic hashes like MD5 are used to verify data, ... if a client asks for and receives a chunk ...
    (comp.lang.cobol)
  • Re: what is probability to create two equal hashes for md5 algorithm
    ... Other than that, if the hash is statistically good, the longer the hash, the ... few cases the hashes match. ... md5 and crc32)? ... How much does it cost to compare two hashes? ...
    (sci.crypt)
  • Re: Parsing problem
    ... > I get into hashes I get a headache. ... First off a 'hash' is simply an 'associative array'. ... They are in turn a reference to a hash. ... a punchcard column formated cobol wingDingDingDing style ...
    (perl.beginners)