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. Larry