in reply to Re: Not meaning to add values to a hash ("autovivification")
in thread Not meaning to add values to a hash
Thanks. I had used 'exists' before I tried 'defined' with the same results.
What I am trying to accomplish is to only reference the element in the hash if it actually exists. I had also tried to do an if statement where the hash element would have to equal the correct key, but I received a multitude of "Uninitialized value...".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Not meaning to add values to a hash ("autovivification")
by Corion (Patriarch) on Dec 21, 2012 at 17:01 UTC |