Skip to content

Instantly share code, notes, and snippets.

@masak
Created July 28, 2013 06:25
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 masak/6097636 to your computer and use it in GitHub Desktop.
Save masak/6097636 to your computer and use it in GitHub Desktop.
Perl 6 echo implementation, similar to adu++'s http://straymindcough.blogspot.se/2013/06/rust-echo.html
sub MAIN(*@words, Bool :$n) {
print @words.join(' ');
print "\n" unless $n;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment