Alexey Trofimenko <[EMAIL PROTECTED]> wrote:
>    my $var = "test";
>    my @arr := $var;
> error? or maybe it would be the same weirdness, like in former example? or
> maybe it's a ["test"]?

The := operator uses the same rules as parameter passing.  So, what do
you think this does?

    sub foo(@arr) {...}
    foo($var);

I would assume the answer is "syntax error".  (Remember, array
parameters don't slurp in Perl 6 unless they have a *.)

-- 
Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]>
Perl and Parrot hacker

"For those of you that can't spell, this site also contains free
imags, iamges, imges, picturs, pcitures, picktures, picturess, and
pistures."

Reply via email to