Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Perl 6 version of cheatsheet

by ysth (Canon)
on Nov 16, 2003 at 22:06 UTC ( #307504=note: print w/replies, xml ) Need Help??

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

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.).

Replies are listed 'Best First'.
Re^4: Perl 6 version of cheatsheet
by rvosa (Curate) on Sep 01, 2005 at 09:49 UTC
    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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://307504]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-10-22 11:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.