Perl 6 Perl 6 Lists, Arrays, and Hashes vivified #11

Scalar arrays ("arrayrefs")

No special dereferencing syntax needed

> my $words = [ < postmodern modern romantic baroque classical > ];

> say $words[2]
romantic

> say $words[0,2,4]
postmodern romantic classical

> say $words.elems
5
Copyright © 2011
http://www.pmichaud.com/2011/pres/