Help for this page
while( (<>) && counter <10){
while(<>) { # ...
while (<>) { print; last if $. == 10; }