On 2005-05-25 13:54, "Juerd" <[EMAIL PROTECTED]> wrote:

>> 3.  If you assign that to an array via something like @a = [1,2,3], I would
>> expect at least a warning and possibly a compile-time error.
>> 
>>  If it does work, it probably gets translated into @a = ([1,2,3]), which
> 
> That's not a translation. Parens, when not postfix, serve only one
> purpose: group to defeat precedence. $foo and ($foo) are always the same
> thing, regardless of the $foo.

So, you could then do this to make an array of size 3 in Perl6?

    @a = 1,2,3;


Reply via email to