Peter Scott wrote:
> 
> Maybe I'm just being dense, but why shouldn't arrays and hashes inherit 
> attributes from UNIVERSAL? 

I think, rather, they should inherit from some other root class,
since UNIVERSAL is for blessed things.


> Hmm, am I saying that I should be able to 
> write @array->method()?

Of course you already can, just not with that syntax:

        scalar(@array)
        $#array
        keys(%hash)
        values(%hash)

etc. etc.

-- 
John Porter

        By pressing down a special key  It plays a little melody

Reply via email to