in reply to
Applying regex to array
You can use map or grep as shown by
chb
and
howie
.
But this just makes the loop implicit.
Depending on your way of thinking and reading code it might
be easier to see what is going on with your original construct.
Just a thought.
si_lence
Comment on
Re: Applying regex to array
In Section
Seekers of Perl Wisdom