Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 11, 2019 22:52
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/2ce6413be3b7c920ef17391fbc958ada to your computer and use it in GitHub Desktop.
Save Whateverable/2ce6413be3b7c920ef17391fbc958ada 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/q0dsqYRC0C
Two terms in a row
at /tmp/q0dsqYRC0C:1
------> ; $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