[kw-pm] is perl 6 really that different?

lloyd carr dcarr at sdf.lonestar.org
Tue Jul 8 22:32:51 CDT 2003


First read the hitchhikers guide to the galaxy LOL

On Tue, 8 Jul 2003, Robert P. J. Day wrote:

> Date: Tue, 8 Jul 2003 15:59:08 -0400 (EDT)
> From: Robert P. J. Day <rpjday at mindspring.com>
> To: KW Perl list <kw-pm at mail.pm.org>
> Subject: [kw-pm] is perl 6 really that different?
>
>
>   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
>
> _______________________________________________
> kw-pm mailing list
> kw-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>

dcarr at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




More information about the kw-pm mailing list