Perl 6 Cool Perl 6 #82

Subroutines

Subroutines can have signatures

Automatically unpacked into local (my) variables

sub order_beer($type, $how_many) {
    say "$how_many pints of $type, please";
}

order_beer('Tuborg', 5);
Copyright © 2010
http://www.pmichaud.com/2010/pres/