Re: [svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-02 Thread Dr.Ruud
Larry Wall schreef: Ruud H.G. van Tol: Uri Guttman: When cast into an array, you can access all the positional arguments; Into a hash, all named arguments; Into a scalar, the invocant; Into code, into slurpy nameless block. The last 'into' should be 'the'. And it has become 'its', which

[svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-01 Thread autrijus
Author: autrijus Date: Sat Apr 1 10:32:53 2006 New Revision: 8520 Modified: doc/trunk/design/syn/S02.pod Log: * S02: destill the compoments of an Arguments object, and specify the $() @() %() () casting forms for them. Modified: doc/trunk/design/syn/S02.pod

RE: [svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-01 Thread Joe Gottman
-Original Message- +You may cast CArguments to other types with a prefix sigil operator: + +$args = \3; # same as $args = \(3) +$$args; # same as $args as Scalar or Scalar($args) +@$args; # same as '$args as Array or Array($args) +%$args;

Re: [svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-01 Thread Uri Guttman
a == autrijus [EMAIL PROTECTED] writes: a +You may cast CArguments to other types with a prefix sigil operator: a + a +$args = \3; # same as $args = \(3) a +$$args; # same as $args as Scalar or Scalar($args) a +@$args; # same as '$args as Array or

Re: [svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-01 Thread Ruud H.G. van Tol
Uri Guttman wrote: When cast into an array, you can access all the positional arguments; Into a hash, all named arguments; Into a scalar, the invocant; Into code, into slurpy nameless block. The last 'into' should be 'the'. s/Into/into/g -- Affijn, Ruud

Re: [svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-01 Thread Larry Wall
On Sun, Apr 02, 2006 at 02:15:46AM +0200, Ruud H.G. van Tol wrote: : Uri Guttman wrote: : : When cast into an array, you can access all the positional : arguments; Into a hash, all named arguments; Into a scalar, the : invocant; Into code, into slurpy nameless block. : : The last