in reply to using if-elsif-else
... chomp ($name); if (exists $phnums{$name}) { print $phnums{$name}; } else { print "Name $name does not exists in the hash."; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using if-elsif-else
by chargrill (Parson) on Dec 29, 2006 at 04:43 UTC | |
by thevoid (Scribe) on Dec 29, 2006 at 10:39 UTC | |
|
Re^2: using if-elsif-else
by thevoid (Scribe) on Dec 28, 2006 at 16:07 UTC |