while (<>) { # or maybe using a file handle, like # do stuff... }