Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 11, 2019 11:35
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/477715a3c81725253b32ebec95f97787 to your computer and use it in GitHub Desktop.
Save Whateverable/477715a3c81725253b32ebec95f97787 to your computer and use it in GitHub Desktop.
evalable6
regex a { 'a'+ }; $a = 'aabaabaaaa'; say $a ~~ &a;
(exit code 1)
===SORRY!===
Variable '$a' is not declared
at /tmp/YBeoDECQ5A:1
------> regex a { 'a'+ }; ⏏$a = 'aabaabaaaa'; say $a ~~ &a;
Other potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my regex a'?)
at /tmp/YBeoDECQ5A:1
------> regex ⏏a { 'a'+ }; $a = 'aabaabaaaa'; say $a ~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment