in reply to Re: How do I dynamically create a hash table?
in thread How do I dynamically create a hash table?

This would probably be more clear if you said print $new_hash{'doughnut'}; instead of print $new_hash{'no doughnut'}; There is no item with key 'no doughnut'.

Replies are listed 'Best First'.
Re^2: Answer: How do I dynamically create a hash table? (A straightforward Q, I know!)
by ysth (Canon) on Oct 21, 2004 at 05:38 UTC
    Thanks; Anonymous Monk had originally had everything say "doughnut". one of the QandAEditors changed it to "no doughnut" and apparently flubbed it. Now fixed.