The Perl 6 One-Liner Advent Calendar 2018 is over! Letβs make a quick overview of what we have covered so far. There were a few themes covered. First, some one-liners from the Perl 6 Calendar 2019 were explained in more detail. We looked at how to generate random passwords and random integers, how to print … Continue reading “π 26/25. Overview of the Perl 6 One-Liner Advent Calendar 2018”
Day: December 24, 2018
π 25/25. Tips and ideas for the Perl 6 Golf code
Welcome to Day 25, the last day of the Perl 6 One-Liner Advent Calendar! Traditional advent calendars have only 24 entries, and our bonus post today will be dedicated to some tips and tricks that you can use in Perl 6 golf contest. There is a great site, code-golf.io, where you can try solving a … Continue reading “π 25/25. Tips and ideas for the Perl 6 Golf code”
π 24/25. Reading files with $*ARGFILES in Perl 6
Welcome to Day 24 of the Perl 6 One-Liner Advent Calendar! In the previous days, we were reading text files, so it would be logical to talk about $*ARGFILES, a built-in dynamic variable that may be handy when working with multiple input files. How do you read two or more files passed in the command-line? … Continue reading “π 24/25. Reading files with $*ARGFILES in Perl 6”