Skip to content

Instantly share code, notes, and snippets.

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/65aed1ac79efade5ccb2ba2ea31d9350 to your computer and use it in GitHub Desktop.
Save dogbert17/65aed1ac79efade5ccb2ba2ea31d9350 to your computer and use it in GitHub Desktop.
Tryin to document method in IO::Socket
=head2 method put
method put(IO::Socket:D: Str(Cool) $string)
Writes the supplied string, with a C<\n> appended to it,
to the socket, thus sending it to other end of the connection.
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