Author: particle Date: 2009-02-09 01:05:52 +0100 (Mon, 09 Feb 2009) New Revision: 25250
Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] correct wording about STDIN; TimToady++ Modified: docs/Perl6/Spec/S19-commandline.pod =================================================================== --- docs/Perl6/Spec/S19-commandline.pod 2009-02-08 23:58:04 UTC (rev 25249) +++ docs/Perl6/Spec/S19-commandline.pod 2009-02-09 00:05:52 UTC (rev 25250) @@ -15,7 +15,7 @@ Maintainer: Jerry Gay <jerry....@rakudoconsulting.com> Date: 12 Dec 2008 Last Modified: 8 Feb 2009 - Version: 22 + Version: 23 This is a draft document. This document describes the command line interface. It has changed extensively from previous versions of Perl in order to increase @@ -74,14 +74,11 @@ Each option may take zero or more values. After all options have been processed, the remaining values (if any) generally consist of the name of a script for Perl to execute, followed by arguments for that script. If no -values remain, Perl 6 reads the script from STDIN--you must specify the -special C<-> option if you wish to pass arguments to a script read from STDIN. +values remain, Perl 6 implicitly opens STDIN to read the script. If you wish +to pass arguments to a script read from STDIN, you must specify STDIN by name +(C<-> on most operating systems). -=for consideration -[This seems a bit misleading; in p5think - is actually the name of STDIN -if you open it as a filename for reading. See p5's open. --law] - =head1 Backward (In)compatibility You may find yourself typing your favorite Perl 5 options, even after @@ -591,7 +588,7 @@ =for consideration [probably a setter method on $*IN of some sort? --law] -Sandboxing? maybe-r +Sandboxing? maybe -r Env var? maybe -E. Could be posed in terms of substituting a different setting.