Author: audreyt Date: Wed Jul 5 22:28:06 2006 New Revision: 9815 Modified: doc/trunk/design/syn/S11.pod
Log: * S11: TimToady++ changes this: use v6-**; # this caused warnings in perl5 to this: use v6-alpha; which has the good effect of denoting this is _not_ Perl 6.0.0 and the syntax is subject to change. Modified: doc/trunk/design/syn/S11.pod ============================================================================== --- doc/trunk/design/syn/S11.pod (original) +++ doc/trunk/design/syn/S11.pod Wed Jul 5 22:28:06 2006 @@ -12,9 +12,9 @@ Maintainer: Larry Wall <[EMAIL PROTECTED]> Date: 27 Oct 2004 - Last Modified: 4 Jul 2006 + Last Modified: 6 Jul 2006 Number: 11 - Version: 13 + Version: 14 =head1 Overview @@ -265,17 +265,19 @@ to guarantee that you get the unembraced Perl. C<:-)> -Perl is the default module name, so +Perl is the default module name, so this means the same thing: use v6-cpan:TPF; -means the same thing. As a variant of that, the current Perl 5 -incantation to switch to Perl 6 parsing is - - use v6-**; - -(though in Perl 5 this actually ends up calling the v6.pm module with a -C<-**> argument for insane-but-useful reasons.) +Before the full specification of Perl 6.0.0 is released, you can use C<alpha> +as the author slot to denote a program using syntax that is still subject +to change: + + use v6-alpha; + +The C<use v6-alpha> line also serves as the Perl 5 incantation to switch to +Perl 6 parsing. In Perl 5 this actually ends up calling the v6.pm module with a +C<-alpha> argument, for insane-but-useful reasons. For wildcards any valid smartmatch selector works: