Re: Is object representation per class or per object?

2004-12-08 Thread Larry Wall
On Tue, Dec 07, 2004 at 12:32:50PM -0500, Abhijit Mahabal wrote: : According to S12, it is possible to supply the object layout to bless(), : like so: : : $object = $class.bless(:CREATE[:reprP6opaque] :k1($v1) :k2($v2)) : : But in the section Introspection, layout is a class trait. Does this :

Is object representation per class or per object?

2004-12-07 Thread Abhijit Mahabal
According to S12, it is possible to supply the object layout to bless(), like so: $object = $class.bless(:CREATE[:reprP6opaque] :k1($v1) :k2($v2)) But in the section Introspection, layout is a class trait. Does this mean that classes have a default layout that can be overriden for individual