Re: Does =$*ARGS work?

2007-04-13 Thread David Vergin
on 4/13/2007 4:55 AM brian d foy said the following: > Shouldn't $*ARGS still show up as the P6 counterpart to ARGV? > S*ARGS as the filehandle shows up in S04. Yup. Fixed now in S28draft.pod. Mention in Variable.pod will follow. dvergin

Re: Does =$*ARGS work?

2007-04-13 Thread brian d foy
In article <[EMAIL PROTECTED]>, David Vergin <[EMAIL PROTECTED]> wrote: > on 4/11/2007 10:29 AM brian d foy said the following: > > The $*ARGS variable shows up in this file, which looks like it's still > > maintained: > > http://svn.pugscode.org/pugs/docs/AES/S28draft.pod > > That's a typ

Re: Does =$*ARGS work?

2007-04-13 Thread David Vergin
on 4/11/2007 10:29 AM brian d foy said the following: The $*ARGS variable shows up in this file, which looks like it's still maintained: http://svn.pugscode.org/pugs/docs/AES/S28draft.pod That's a typo (mine). It should be @*ARGS and refers to simple access to the command line arguments

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
Hi, brian d foy wrote: > In article <[EMAIL PROTECTED]>, Moritz Lenz > <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> brian d foy wrote: >>> Under the section "The for Statement" in S04, it says that the diamond >>> operator >>> >>>while( <> ) { ... } >>> >>> becomes in Perl 6 >>> >>>for

Re: Does =$*ARGS work?

2007-04-12 Thread brian d foy
In article <[EMAIL PROTECTED]>, Moritz Lenz <[EMAIL PROTECTED]> wrote: > Hi, > > brian d foy wrote: > > Under the section "The for Statement" in S04, it says that the diamond > > operator > > > >while( <> ) { ... } > > > > becomes in Perl 6 > > > >for =$*ARGS { ... } > > Some time

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
Hi, brian d foy wrote: > Under the section "The for Statement" in S04, it says that the diamond > operator > >while( <> ) { ... } > > becomes in Perl 6 > >for =$*ARGS { ... } Some time ago I read that too, and wondered why that's not [EMAIL PROTECTED] That seems more reasonable, b

Does =$*ARGS work?

2007-04-12 Thread brian d foy
Randal and I are starting work on "Learning Perl 6", and now that I've completed a lot of other things, I can actually start paying attention to Perl 6. Here's the first of my stupid, "where have you been for the past 2 years you moron" questions. :) I'm working on the chapter on I/O (Chapter 5 in