{ local $/ = $sep; my $done = $offset + $span ; while () { chomp, print if $. == $offset .. $. == $done && last; } }