On Wed, Apr 20, 2005 at 10:23:14PM +0200, Juerd wrote:
: 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 @_.

That's all correct.

Larry

Reply via email to