foreach (<>) { # Do something with $line here... }