Documentation for routine get

Documentation for routine get, assembled from the following types:

class IO::Handle

From IO::Handle

(IO::Handle) method get

Reads a single line from the input stream (usually the Standard Input or a file).

Read one line from the standard input:


Read one line from a file:

my $fh = open 'filename';
my $line = $fh.get;

class IO::ArgFiles

From IO::ArgFiles

(IO::ArgFiles) method get

Return one line of the open file handle.

class IO::Socket::INET

From IO::Socket::INET

(IO::Socket::INET) method get

method get()

Reads a line from the socket and returns it. Returns the Str type object on end-of-file (EOF).