while(){ print; } # Read one line at a time from file.@lines = ; # Slurp all lines into an array.print "@lines\n";