In article <[EMAIL PROTECTED]>, Larry Wall <[EMAIL PROTECTED]> wrote:
> On Tue, May 01, 2007 at 10:04:50AM -0500, brian d foy wrote: > : Is there going to be a Perl 6 equivalent to $ARGV (the current filename > : for the ARGV filehandle)? > > Hmm, well, we did away with unsigiled filehandles, and renamed @ARGV > to @*ARGS, so $*ARGS is presumably the magical filehandle, which means > it can't really serve as the filename at the same time. So assuming > that any filehandle knows the name of its file (if available), it'd > probably be available via a method like $ARGS.name or some such. $ARGS.name seems reasonable enough, and the method could be very handle for other things that use filehandles too. However, until it shows up in a synopsis, I'll assume you're just thinking aloud rather than making a decision. :)