Author: autrijus
Date: Mon May 1 10:32:02 2006
New Revision: 9076
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03.pod: Retire lvalue undef and replace it with lvalue Whatever:
# Perl 5
(undef, undef, $x) = (1,2,3);
# Perl 6
(*, *, $x) = (1,2,3);
Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod (original)
+++ doc/trunk/design/syn/S03.pod Mon May 1 10:32:02 2006
@@ -12,9 +12,9 @@
Maintainer: Larry Wall <[EMAIL PROTECTED]>
Date: 8 Mar 2004
- Last Modified: 30 Apr 2006
+ Last Modified: 2 May 2006
Number: 3
- Version: 25
+ Version: 26
=head1 Changes to existing operators
@@ -671,6 +671,8 @@
@slice = @x[*;0;*]; # any Int
@slice = %x{*;'foo'}; # any keys in domain of 1st dimension
@array[*] # flattens, unlike @array[]
+ (*, *, $x) = (1, 2, 3); # skip first two elements
+ # (same as lvalue "undef" in Perl 5)
C<Whatever> is an undefined prototype object derived from C<Any>. As a
type it is abstract, and may not be instantiated as a defined object.