Solution
Perl 6 Lists and Arrays
Twigils and special variablesI could not find a better place yet to introduce them so let me do it now. Perl 6 has a large set of special variables. In order to make it easy to differentiate them from regular variable they are marked with what we call a twigil. Regular, user defined variables have a sigil ($, @ or %) in front of them. System variables have and additional character between the sigil and the name of the variable. Examples:
Copyright 2006, 2007, 2008, 2009, 2010 Gabor Szabo http://szabgab.com/ Index | TOC |
Follow me: