open (FH,”/tmp/file); for (;;) { while () { print “$_\n”; } FH->clearerr; }