in reply to "array" search
if($self->{keys}->[$key]){ # do something with the knowledge that we got the correct key # then exit out of function using this loop } # do something with the knowledge there is no key with that name
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "array" search
by Sheol (Novice) on Jan 14, 2006 at 08:47 UTC |