Author: audreyt
Date: Sat Sep 23 20:48:58 2006
New Revision: 12347
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: Wording and examples cleanup; no semantic changes.
Modified: doc/trunk/design/syn/S04.pod
==
--- do
S06 says:
=head2 Flattening argument lists
The reduce operator C<[,]> casts each of its arguments to a C
object, then splices each of those captures into the argument list
it occurs in. The unary C<|> sigil has the same effect on a single
argument.
...
Does this mean that [,] is a special "Re
On 9/23/06, Audrey Tang <[EMAIL PROTECTED]> wrote:
在 Sep 23, 2006 8:36 PM 時,Markus Laire 寫到:
> On 9/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> @args = [EMAIL PROTECTED],1,2,3;
>> -push [,] @args;# same as push @foo,1,2,3
>> +push [,] @args;# same as push(@foo:
在 Sep 24, 2006 12:21 AM 時,Audrey Tang 寫到:
在 Sep 23, 2006 8:36 PM 時,Markus Laire 寫到:
On 9/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
@args = [EMAIL PROTECTED],1,2,3;
-push [,] @args;# same as push @foo,1,2,3
+push [,] @args;# same as push(@foo: 1,2,3)
I don't
在 Sep 23, 2006 8:36 PM 時,Markus Laire 寫到:
On 9/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
@args = [EMAIL PROTECTED],1,2,3;
-push [,] @args;# same as push @foo,1,2,3
+push [,] @args;# same as push(@foo: 1,2,3)
I don't quite understand this. Shouldn't C<[,] @args
On 9/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
@args = [EMAIL PROTECTED],1,2,3;
-push [,] @args;# same as push @foo,1,2,3
+push [,] @args;# same as push(@foo: 1,2,3)
I don't quite understand this. Shouldn't C<[,] @args> be equivalent to
C<[EMAIL PROTECTED],1,2,3>
Author: audreyt
Date: Sat Sep 23 01:05:45 2006
New Revision: 12346
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Cleanup capture-exploding examples such that |@foo always
simply put @foo's elements as positional arguments, regardless
of whether @foo[0] contains a Hash. (On