in reply to Re: Checking if hash value exists without implicitly defining it
in thread Checking if hash value exists without implicitly defining it
You don't even need the exists (assuming you don't have a weird freeform data structure):
if (Hash{$neededVal} and $Hash{$neededVal}{param1} and $Hash{$neededVal}{param1}{key1} > 4) {
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Checking if hash value exists without implicitly defining it
by Kenosis (Priest) on Feb 15, 2013 at 15:47 UTC |
In Section
Seekers of Perl Wisdom