http://www.perlmonks.org?node_id=307501


in reply to Re: Perl 6 version of cheatsheet
in thread perlcheat

It's a Perl 6 change :-)

Replies are listed 'Best First'.
Re^3: Perl 6 version of cheatsheet
by ysth (Canon) on Nov 16, 2003 at 22:06 UTC
    To be more verbose, in perl6 the sigils become part of the variable name. Everywhere you talk about @array, it will have the '@'. $array[5] instead is the 5th element of the array whose array ref is stored in the scalar $array ($array->[5] in perl5-speak.).
      I have to say: keeping the same sigil regardless of whether you're accessing elements or the whole thing is going to be very helpful for newcomers.