Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 15, 2019 15:36
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 Whateverable/621d46045d58edc87898ed581f648060 to your computer and use it in GitHub Desktop.
Save Whateverable/621d46045d58edc87898ed581f648060 to your computer and use it in GitHub Desktop.
evalable6
sub infix:<=>($a, $b) { $a == $b }; (10 = 10).say
(exit code 1)
===SORRY!=== Error while compiling /tmp/bs63hOmRLz
Cannot override infix operator '=', as it is a special form handled directly by the compiler
at /tmp/bs63hOmRLz:1
------> sub infix:<=>⏏($a, $b) { $a == $b }; (10 = 10).say
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment