and for the 4th entry greater than 3$_->[1] > 4
What stumbling blocks have you hit? The structural difference from your posted code is you will only require one grep.$_->[3] > 3
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re: Simplest way to match/filter 2d array of values to search in perl
by kennethk
in thread Simplest way to match/filter 2d array of values to search in perl
by reaper9187
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |