http://www.perlmonks.org?node_id=1049065


in reply to get the peak values with perl

Hi shakehands,
i am new perl use
Welcome to the World... :).
i want to get... No problems, you will need to show us what you have done. Please read How do I post a question effectively?.
Apparently, from your request what you wanted from the array is:

  1. You want to get values that are divisible by 2, but greater than 2 itself
  2. All the numbers greater than 3.
So, the question is how would you do that?
Hope this helps

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me