Author: schwarzer Date: 2009-05-24 21:46:24 +0200 (Sun, 24 May 2009) New Revision: 26928
Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S06-routines.pod docs/Perl6/Spec/S19-commandline.pod docs/Perl6/Spec/S28-special-names.pod Log: [Perl6/Spec] typos Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2009-05-24 05:05:44 UTC (rev 26927) +++ docs/Perl6/Spec/S02-bits.pod 2009-05-24 19:46:24 UTC (rev 26928) @@ -2332,7 +2332,7 @@ } This tends to be more efficient since it only has to do one mixin -at the the end of the block. Note that the slang declaration has +at the end of the block. Note that the slang declaration has nothing to do with package C<Regex>, but only with C<$~Regex>. Sublanguages are in their own namespace (inside the current value of C<%?LANG>, in fact). Hence C<augment> is modifying one of the local Modified: docs/Perl6/Spec/S06-routines.pod =================================================================== --- docs/Perl6/Spec/S06-routines.pod 2009-05-24 05:05:44 UTC (rev 26927) +++ docs/Perl6/Spec/S06-routines.pod 2009-05-24 19:46:24 UTC (rev 26928) @@ -145,7 +145,7 @@ sub swap (*...@_ is rw, *%_ is rw) { @_[0,1] = @_[1,0]; %_<status> = "Q:S"; } Note: the C<rw> container trait is automatically distributed to the -individual elements by the the slurpy star even though there's no +individual elements by the slurpy star even though there is no actual array or hash passed in. More precisely, the slurpy star means the declared formal parameter is I<not> considered readonly; only its elements are. See L</Parameters and arguments> below. Modified: docs/Perl6/Spec/S19-commandline.pod =================================================================== --- docs/Perl6/Spec/S19-commandline.pod 2009-05-24 05:05:44 UTC (rev 26927) +++ docs/Perl6/Spec/S19-commandline.pod 2009-05-24 19:46:24 UTC (rev 26928) @@ -398,8 +398,8 @@ =item ++CMD --command-line-parser *parser* ++/CMD Add a command-line processor. When this option is parsed, it immediately -triggers an action that affects or replaces the the command-line parser. -Therefore, it's a good idea to put this option as early as possible in the +triggers an action that affects or replaces the command-line parser. +Therefore, it is a good idea to put this option as early as possible in the argument list. =item --check-syntax, -c Modified: docs/Perl6/Spec/S28-special-names.pod =================================================================== --- docs/Perl6/Spec/S28-special-names.pod 2009-05-24 05:05:44 UTC (rev 26927) +++ docs/Perl6/Spec/S28-special-names.pod 2009-05-24 19:46:24 UTC (rev 26928) @@ -52,7 +52,7 @@ the outermost definition of these variables are kept in the C<PROCESS> package. -The C<$=foo> variables are related to the the C<$?foo> variables +The C<$=foo> variables are related to the C<$?foo> variables insofar as the text of the program is known at compile time, so the values are static. However, the different twigil indicates that the variable contains POD data, which is primarily under user control