More on slicing
> my @words = < orange lime cherry banana lemon >; > say @words[0,4,2]; orange lemon cherrycontinued...
Perl 6 | Perl 6 Lists and Arrays vivified | #61 |
> my @words = < orange lime cherry banana lemon >; > say @words[0,4,2]; orange lemon cherrycontinued...
Copyright © 2012 http://www.pmichaud.com/2012/pres/ |