in reply to How to read every 16 line of file ?
while (<>) { say if $. % 16 == 0; } [download]
$., %