> Will it be possible (or sane even) to bind a variable to an array slice
> e.g
> 
>   ## correct syntax?
>   my @array = << a list of values >>;
> 
>   my @array_slice := @array[ 1 .. @array.end ];

Yeah, that'll work.  It has to, lest:

    my [EMAIL PROTECTED] := (1, 1, map { $^a + $^b } zip(@fibs, @fibs[1...])) #[1]

Wouldn't work.

> Or would this merely bind @array_slice to the list returned by the slice,
> or would it DTRT (in my eyes at least) and bind it to that particular
> slice of @array?
> 
> Dan Brook

[1] Oh don't look so scared :-)

Luke

Reply via email to