New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example is incorrect #2636
Comments
|
Curious; I've never heard of |
|
Even this one is not working? say q:0/:0 (no interpolation) even backslash has no special meaning: \ /; ===SORRY!=== Error while compiling /home/manwar/github/perl6-cookbook/strings/t.pl |
|
Ah, it's not in the docs, but in the examples repository. But no, there's no |
|
Shall I submit PR to cleanup the example to respect the official document? |
|
@manwar That would be wonderful. It'll be in https://github.com/perl6/perl6-examples rather than this repo. |
|
I will do that tomorrow and that will be my first ever PR for Perl 6. |
|
Since this has been fixed by the OP, I'm closing it. Thanks @manwar |
The problem
One of the example
say q:raw/:raw (no interpolation) even backslash has no special meaning: \ /;
in the page below
https://examples.perl6.org/categories/cookbook/01strings/01-00introduction.html
is throwing following error
Unrecognized adverb: :raw
at /home/manwar/github/perl6-cookbook/strings/t.pl:3
------> say q:raw⏏/:raw (no interpolation) even backslash
Couldn't find terminator / (corresponding / was at line 3)
at /home/manwar/github/perl6-cookbook/strings/t.pl:4
------> ⏏
expecting any of:
/
Suggestions
I don't know enough to suggest any solution. I am just learning from the examples.
The text was updated successfully, but these errors were encountered: