I struggled immensely with trying to understand the Perl 6 documentation. I feel that it's almost impossible for folks who aren't familiar with Perl to learn, and it fails to properly communicate some of the basic features of the language in a pleasant & easy to understand way. I did a crash course through the docs to finish a programming challenge for Day 4 in Advent of Code 2018. You can find my solution to that problem here. Here's my tips and tricks after staying up til 3AM to finish the advent challenge.
You can find some good instructions on setting up perl here.
Be sure to add
#!/usr/bin/perl
anduse v6;
to the top of your.p6
or.pl
file.
I don't recommend to go without some sort of syntax checker, or else you'll waste a lot of time. Perl 6's error messages are prett