On Mon, Aug 09, 2004 at 05:47:21PM -0700, Dan Sugalski wrote: : Parrot needs to strip out all the switches : it understands from the command line and leave argv[0] as the name of : the invoked program.
I'd go a bit further and say simply that any unrecognized switch before the invoked program is a fatal error, since all switches intended for the invoked program should follow the name. (That's how Perl 5 does it, anyway, and it seems to work out fine in practice.) Larry