Stupid Question
From: Jason Dusek (jason-dusek_at_uiowa.edu)
Date: 11/29/03
- Next message: John W. Krahn: "Re: Stupid Question"
- Previous message: Wiggins D'Anconia: "Re: Viewing logs on other computers."
- Next in thread: John W. Krahn: "Re: Stupid Question"
- Reply: John W. Krahn: "Re: Stupid Question"
- Reply: Drieux: "hash of hashes problem - Re: Stupid Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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."
- Next message: John W. Krahn: "Re: Stupid Question"
- Previous message: Wiggins D'Anconia: "Re: Viewing logs on other computers."
- Next in thread: John W. Krahn: "Re: Stupid Question"
- Reply: John W. Krahn: "Re: Stupid Question"
- Reply: Drieux: "hash of hashes problem - Re: Stupid Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|