Help for this page
foreach (@array) { push @other, $_ if some_condition; }
@other = grep {some_condition} @array;