Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 11, 2019 22:48
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/db2fc010d8d5dbf4b959de77f6b0169e to your computer and use it in GitHub Desktop.
Save Whateverable/db2fc010d8d5dbf4b959de77f6b0169e to your computer and use it in GitHub Desktop.
evalable6
my $targetstr = "what is a octarine color"; $targetstr ~~ s/ <wb>a<wb>{} /= {~$0"~"n"}/; say $targetstr; #testing
(exit code 1)
===SORRY!=== Error while compiling /tmp/YbnNl45rdY
Two terms in a row
at /tmp/YbnNl45rdY:1
------> r"; $targetstr ~~ s/ <wb>a<wb>{} /= {~$0⏏"~"n"}/; say $targetstr; #testing
expecting any of:
infix
infix stopper
statement end
statement modifier
statement modifier loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment