Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created June 10, 2019 14:12
Show Gist options
  • Save Whateverable/5a416391a89b510d1f500fa1fd2f698b to your computer and use it in GitHub Desktop.
Save Whateverable/5a416391a89b510d1f500fa1fd2f698b to your computer and use it in GitHub Desktop.
evalable6
use MONKEY-SEE-NO-EVAL; my $a = regex /.oo/; say 'foo' ~~ EVAL ($a.perl); # with $a.perl being a string
(exit code 1)
===SORRY!=== Error while compiling /tmp/kSwdaU7hDK
Malformed regex
at /tmp/kSwdaU7hDK:1
------> use MONKEY-SEE-NO-EVAL; my $a = regex⏏ /.oo/; say 'foo' ~~ EVAL ($a.perl); # w
expecting any of:
new name to be defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment