in reply to in_array and skipping foreach
There's no specific function for finding a value in an array. You make your own (or use a module). Yours seems fine.
For your second question, see next - specifically "next LABEL"
For your second question, see next - specifically "next LABEL"
--------------
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: in_array and skipping foreach
by VSarkiss (Monsignor) on Apr 13, 2005 at 14:34 UTC | |
by jbrugger (Parson) on Apr 13, 2005 at 14:43 UTC | |
by VSarkiss (Monsignor) on Apr 13, 2005 at 14:59 UTC | |
by RazorbladeBidet (Friar) on Apr 13, 2005 at 14:36 UTC |
In Section
Seekers of Perl Wisdom