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

Operations on arrays

We still have the functional forms:

> my @words = < postmodern modern romantic baroque classical >;

Display the number of elements

> say elems @words
5

I generally prefer the method call form:

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