Luke Palmer [mailto:[EMAIL PROTECTED]] wrote:
> By default they're keyed by strings.  You can smack a property on them
> to key them by something else, though:
> 
>     my %sparse is keyed(Int);
>     my %anything is keyed(Object);  # or UNIVERSAL

Should that be a property of the hash-object, not the variable? I can see
arguments both ways; but I think the C<is> mechanism will have problems when
you consider hashrefs.

Dave.

Reply via email to