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."
In Section
Seekers of Perl Wisdom