Jon Lang wrote: > That's a good point. Is there an easy way to distinguish between > passing a pair into a positional parameter vs. passing a value into a > named parameter?
Off the top of my head, see S06 for the gory details: my $pair = a => 'b'; named(a => 'b'); named(:a<b>); named(|$pair); positional((a => 'b')); positional((:a<b>)); positional($pair); Cheers, Moritz