Before anyone writes an RFC on names sub parameters, they should look at the archives of perl5-porters where it has been discussed a fair amount. A sample of what appeared to be rough-consensus syntax then: sub myfoo(Dog $spot : alias, String $str : readonly, $bar); Note the (more-or-less existing in v5.6.0) optional type declarations and attribute lists. In particular, note ":alias" to keep the current p5 $_[0] aliasing in effect for the one parameter. That sample pulls together enough of what was discussed that it probably actually goes a bit beyond what had been rough consensus after all, but it should serve to help keep from re-hashing *all* of the same old ground over again. -- Spider Boardman (at home) [EMAIL PROTECTED] The management (my cats) made me say this. http://www.ultranet.com/~spiderb PGP public key fingerprint: 96 72 D2 C6 E0 92 32 89 F6 B2 C2 A0 1C AB 1F DC
- Re: named parameters Simon Cozens
- Re: named parameters Tim Jenness
- Re: named parameters Nathan Wiger
- Re: named parameters Ken Fox
- Re: named parameters Nathan Wiger
- Re: named parameters Tom Christiansen
- Re: named parameters Dan Sugalski
- Re: named parameters Bryan C . Warnock
- Re: named parameters Ken Fox
- New Group proposed: subs (was Re: nam... Uri Guttman
- Re: New Group proposed: subs (wa... Spider Boardman
- Re: New Group proposed: subs (wa... skud
- Re: New Group proposed: subs (wa... Johan Vromans
- Re: New Group proposed: subs (was Re:... Damian Conway
- Re: New Group proposed: subs (wa... Hildo Biersma
- Re: New Group proposed: subs... Andy Wardley
- Re: New Group proposed: subs... Glenn Linderman
- Re: New Group proposed: subs... Tom Christiansen
- Re: New Group proposed: subs... J. David Blackstone
- Re: New Group proposed: subs... J. David Blackstone
- Re: New Group proposed: subs (wa... Kyle R . Burton