Updated Perl6 to modern syntax.