Re: A6 - no mandatory named arguments

2003-03-15 Thread Uri Guttman
> "LW" == Larry Wall <[EMAIL PROTECTED]> writes: LW> On Sat, Mar 15, 2003 at 05:32:41PM -0800, mlazzaro wrote: LW> : So my reading is that it's not possible to specify 'required' LW> : named parameters, unless we're completely missing something. My LW> : first impulse is that it's no

Re: A6 - no mandatory named arguments

2003-03-15 Thread Larry Wall
On Sat, Mar 15, 2003 at 05:32:41PM -0800, mlazzaro wrote: : So my reading is that it's not possible to specify 'required' named parameters, : unless we're completely missing something. My first impulse is that it's not a : big deal, because who's gonna do that? My second impulse is... well... if

Re: A6 - no mandatory named arguments

2003-03-15 Thread mlazzaro
Uri Guttman wrote: > > "NC" == Nicholas Clark <[EMAIL PROTECTED]> writes: > > NC> How come there seems to be no way to specify mandatory named > NC> parameters? I'm not sure that *I*'d ever want to write > > apoc6: > A hash declaration like *%named indicates that the %named hash >

Re: A6 - no mandatory named arguments

2003-03-15 Thread Uri Guttman
> "NC" == Nicholas Clark <[EMAIL PROTECTED]> writes: NC> If I've understood A6 correctly there are 6 types of argument to NC> subroutines: invocant, mandatory positional parameters, optional NC> positional parameters, optional named parameters, slurpy hash and NC> slurpy array. NC>

A6 - no mandatory named arguments

2003-03-15 Thread Nicholas Clark
If I've understood A6 correctly there are 6 types of argument to subroutines: invocant, mandatory positional parameters, optional positional parameters, optional named parameters, slurpy hash and slurpy array. How come there seems to be no way to specify mandatory named parameters? I'm not sure th