6 ms·even shorter: grep { $_ % 2 == 0 } 1..5;by zakovyrya 16y agoeven shorter: grep { $_ % 2 == 0 } 1..5;