can you explain me the following line. I am not able to understand what is that doing exactly.
my @var = map {$arr$_} grep {$_ & 1} 1..$#arr;
In reply to Re^2: Quicly extracting odd index elements in the array with grep
by Anonymous Monk
in thread Quicly extracting odd index elements in the array with grep
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |