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 zoffixznet/ef930e000cd4678df70da88c2172aff4 to your computer and use it in GitHub Desktop.
Save zoffixznet/ef930e000cd4678df70da88c2172aff4 to your computer and use it in GitHub Desktop.
method !ssay (Str:D $msg, :$server is copy) {
$server //= '*';
$!debug and debug-print $msg, :out, :$server;
%!servers{ $server }<sock>.print("$msg\n");
self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment