Aldo Calpini writes:
>   my @a = [1,2,3]; # or does it make @a[0] = (1,2,3)?

Yes, @a[0] = [1,2,3];

> and I have absolutely no clue about the following:
> 
>   my *$a = @a;
>   my *$a = [EMAIL PROTECTED];
>   my *$a = (1,2,3);
>   my *$a = [1,2,3];

Those are all illegal.  You need to use binding for those to make any
sense.

    my *$a := @a;      # $a = @a[0]
    my *$a := [EMAIL PROTECTED];     # same
    my *$a := (1,2,3); # $a = 1
    my *$a := [1,2,3]; # $a = [1,2,3]

Luke

Reply via email to