@lines = map { <$file> // () } 1 .. 10; [download]
In reply to Re^3: reading several lines in a gulp by Anonymous Monk in thread reading several lines in a gulp by John M. Dlugosz