Created
April 15, 2019 22:10
-
-
Save Whateverable/6cc4b0ede88399a1231333865602275a to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $a = False; sub a-or-b { $a ?? /^ 'a'/ !! /^ 'b'/ }; say ('baa' ~~ / <&a-or-b> .. / ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
Sub object coerced to string (please use .gist or .perl to do that) | |
in block <unit> at /tmp/IlTjpsyl8a line 1 | |
===SORRY!=== | |
Unrecognized regex metacharacter - (must be quoted to match literally) | |
at /home/bisectable/git/whateverable/EVAL_0:1 | |
------> anon regex { a⏏-or-b} | |
Malformed regex | |
at /home/bisectable/git/whateverable/EVAL_0:1 | |
------> anon regex { a-⏏or-b} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment