@array = <$fh>; # Reads all lines into array $singleLine = <$fh>; # reads one line only