Graham Barr wrote:
> 
> On Fri, Aug 11, 2000 at 11:24:48AM +1000, Damian Conway wrote:
> 
> > This can be correctly handled. The named parameter's context specifier
> > would be propagated to the right operand of the =>. So:
> >
> >       sub demo ( $name, \%options ) {...}
> >
> > will accept:
> >
> >       demo(options=>%myopts, name=>'my name');
> 
> but in the case of
> 
>   sub demo ($name, %options) {...}
> 
> what does
> 
>   demo($var, name => $value);
> 
> do ?

        With syntax like that I would expect name to be a key in %_.

Clayton
-- 
Clayton Scott

Nortel Networks
Information Research

Reply via email to