Synopsis
readline *filehandle
Reads a line or lines from the specified
filehandle
. (A typeglob of the
filehandle name should be supplied.) Returns one line per call in
a scalar context. Returns a list of all lines until the
end-of-file in list context.