P6 Gentle Intro, Part 2

Part 1 available here.

Arrays

A Perl 6 arrays is an ordered container for a list of scalar items - meaning, you can count on the order of items in the array. Here are some ways to create lists and assign them to an array:

my @primes1 = 2 , 3 , 5 , 7 , 11 , 13; # using the comma operator
my @primes2 = <17 19 23 29 31>;        # same as the comma seperated list
my @primes3 = @primes1 , @primes2;     # this work…

A Gentle Introduction to Perl 6 Using Rakudo Star

So, Rakudo Star was recently released and I decided to give it a try. So far, I like what I'm seeing.

Installation on Windows 7

Download the msi file available from GitHub, double-click and answer the questions with "ye…