... chomp ($name); if (exists $phnums{$name}) { print $phnums{$name}; } else { print "Name $name does not exists in the hash."; }
In reply to Re: using if-elsif-else
by pajout
in thread using if-elsif-else
by thevoid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |