my $i = 0; while () { next if ++$i % 2; print; }