Author: lwall Date: 2008-12-28 04:30:13 +0100 (Sun, 28 Dec 2008) New Revision: 24657
Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S04-control.pod Log: [Spec] differentiate $*ARGFILES from the $*ARGS capture, noticed by zev++ Modified: docs/Perl6/Spec/S02-bits.pod =================================================================== --- docs/Perl6/Spec/S02-bits.pod 2008-12-28 03:17:03 UTC (rev 24656) +++ docs/Perl6/Spec/S02-bits.pod 2008-12-28 03:30:13 UTC (rev 24657) @@ -14,7 +14,7 @@ Date: 10 Aug 2004 Last Modified: 27 Dec 2008 Number: 2 - Version: 144 + Version: 145 This document summarizes Apocalypse 2, which covers small-scale lexical items and typological issues. (These Synopses also contain @@ -1958,7 +1958,7 @@ =item * Standard input is C<$*IN>, standard output is C<$*OUT>, and standard error -is C<$*ERR>. The magic command-line input handle is C<$*ARGS>. +is C<$*ERR>. The magic command-line input handle is C<$*ARGFILES>. The arguments themselves come in C<@*ARGS>. See also "Declaring a MAIN subroutine" in S06. Modified: docs/Perl6/Spec/S04-control.pod =================================================================== --- docs/Perl6/Spec/S04-control.pod 2008-12-28 03:17:03 UTC (rev 24656) +++ docs/Perl6/Spec/S04-control.pod 2008-12-28 03:30:13 UTC (rev 24657) @@ -12,9 +12,9 @@ Maintainer: Larry Wall <la...@wall.org> Date: 19 Aug 2004 - Last Modified: 14 Oct 2008 + Last Modified: 27 Dec 2008 Number: 4 - Version: 70 + Version: 71 This document summarizes Apocalypse 4, which covers the block and statement syntax of Perl. @@ -458,7 +458,7 @@ which is short for - for =$*ARGS {...} + for =$*ARGFILES {...} Arguments bound to the formal parameters of a pointy block are by default readonly within the block. You can declare a parameter