Dan Sugalski <[EMAIL PROTECTED]> writes: > At 1:10 PM +0000 1/6/03, Piers Cawley wrote: >>Dan Sugalski <[EMAIL PROTECTED]> writes: >>> An object is a data type, as much as an array or hash is a data type, >>> but that doesn't make an array an object. [insert obligatory "all men >>> are Socratese" quote here) >> >>I really hope you're wrong here Dan. At least in that particular >>case. Being able to inherit from Array or Hash or whatever as a >>neater way of implementing, say, Tie semantics would be remarkably useful... > > Well, you'll certainly be able to use delegation to get in the way if > nothing else.
Go on, how would delegation help in the case where you want to be subclass Array so as to be able to do: my TiedArraySubclass @foo;