[kw-pm] is perl 6 really that different?
Robert P. J. Day
rpjday at mindspring.com
Tue Jul 8 14:59:08 CDT 2003
just skimming the aforementioned o'reilly perl 6 book,
and i'm confused about its description of how to index
into an array.
on p 26 (if you happen to have the book), we have the
example:
@array = ("Zaphod", "Ford", "Trillian") ;
$second_element = @array[1] ; ??????
since when? i thought you'd write that second statement as
... $array[1] ;
am i just hopelessly confused? it's been a long day,
i'm tired and maybe i'm just not thinking clearly.
rday
More information about the kw-pm
mailing list