Welcome to the Monastery | |
PerlMonks |
Re: iterating through array and saving matches to new arrayby learnedbyerror (Monk) |
on Apr 15, 2018 at 18:18 UTC ( [id://1212939]=note: print w/replies, xml ) | Need Help?? |
With the replacement of our with my, your method, as a generalized method is fine. poj's use of grep is preferred when you have a simple criterion, such as your >850, as it will be faster than the generalized method.
In Section
Seekers of Perl Wisdom
|
|