Re: Some perplexities on S06

2006-01-30 Thread Larry Wall
On Sat, Jan 28, 2006 at 06:30:06PM +0100, dakkar wrote: : 4) It's written: : :(Conjectural: Within the body you may also use exists on the : parameter name to determine whether it was passed. Maybe this will have : to be restricted to the ? form, unless we're willing to admit that a : para

Re: Some perplexities on S06

2006-01-30 Thread Larry Wall
On Sat, Jan 28, 2006 at 06:30:06PM +0100, dakkar wrote: : Today I was reading S06 from : http://dev.perl.org/perl6/doc/design/syn/S06.html, and I have some : perplexities on what's written there. : : 1) it's written: : : $pair = :when; : doit $pair,1,2,3; # always a positional arg :

Some perplexities on S06

2006-01-28 Thread dakkar
Today I was reading S06 from http://dev.perl.org/perl6/doc/design/syn/S06.html, and I have some perplexities on what's written there. 1) it's written: $pair = :when; doit $pair,1,2,3; # always a positional arg doit *$pair,1,2,3; # always a named arg but also: To pass pair