Nicholas Clark wrote:

> Related, I think: no-one answered my question about what happens when I
> define
> 
> sub dumb ($var, @var) {
>   ...
> }
> 
> and then call it with the pair var=>$thing

Exception, probably. Perhaps the error would be something like:

"Dumb ambiguous binding of dumb named parameter ("var") at demo.pl line 1. Dummy."

;-)



> Presumably for clarity it is better to store the sigil in the match object,
> because if I've understood perl6 symbol tables correctly they are going to
> be storing names-with-sigils. (To allow the elimination of typeglobs)

The part about sigils being part of symbol table keys is indeed correct.

Damian


Reply via email to