Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created November 27, 2017 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogbert17/61a698110173b3aced0a017c9b11e515 to your computer and use it in GitHub Desktop.
Save dogbert17/61a698110173b3aced0a017c9b11e515 to your computer and use it in GitHub Desktop.
Attempt to document IO::Socket::get
=head2 routine get
Defined as:
method get(IO::Socket:D: --> Str:D)
Reads a single line of input from the socket, removing the trailing newline
characters (as set by L«C<.nl-in>|/routine/nl-in»)
if the handle's C<.chomp> attribute is set to C<True>. Returns
C<Nil>, if no more input is available.
Fails if the socket is not connected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment