in reply to Re^2: Checking if hash value exists without implicitly defining it
in thread Checking if hash value exists without implicitly defining it
My apologies, as it should be written as:
... if ( exists $Hash{$neededVal} and exists $Hash{$neededVal}{param1} and exists $Hash{$neededVal}{param1}{key1} ) { ...
Will correct the original...
Update: Replaced defined with exists. Thank you, choroba.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Checking if hash value exists without implicitly defining it
by choroba (Cardinal) on Feb 14, 2013 at 17:44 UTC | |
by Kenosis (Priest) on Feb 14, 2013 at 17:52 UTC |