Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 5, 2019 23:43
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/0c761b29c599830dd0023ee25eda5648 to your computer and use it in GitHub Desktop.
Save Whateverable/0c761b29c599830dd0023ee25eda5648 to your computer and use it in GitHub Desktop.
evalable6
my $a = "old"; my $b = "new"; say ($a ~~ tr/$old/$new).^name
(exit code 1)
===SORRY!=== Error while compiling /tmp/M2Wv0fGpR_
Malformed replacement part; couldn't find final /
at /tmp/M2Wv0fGpR_:1
------> = "new"; say ($a ~~ tr/$old/$new).^name⏏<EOL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment