Keep It Simple, Stupid | |
PerlMonks |
Re: Applying regex to arrayby si_lence (Deacon) |
on Nov 24, 2004 at 10:39 UTC ( [id://410106]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|