method

readlines

readlines(eol=$/)
public

Reads lines from the stream which are separated by eol.

See also #gets