Autrijus Tang skribis 2005-04-21  4:19 (+0800):
> So, following up on the Parens handling, are these two equivalent?
>     # Assuming &is has the parameter signature (Str, Str, Str)
>     is((1,2), (3,4), "hey");
>     is([1,2], [3,4], "hey");

I think so.

> What happens if &is is of type (Any, Any, Str)?

Same thing, as the inner comma is still in scalar context.

However, with list context, I expect things to flatten, so with a
signature of [EMAIL PROTECTED], it puts 5 elements in @_.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to