Sean O'Rourke wrote: > On Tue, 17 Sep 2002, Leopold Toetsch wrote:
>>Yes of course. What once was in "default.pmc" will be "scalar.pmc", >>where all scalar like classes can inherit from. > And from which perlarray.pmc, perlhash.pmc, and (probably) a whole host of > other types that need scalar-like operations will inherit. Yep. My planned layout of classes inheritance will look like this: [default.pmc] ^ | | [sub.pmc] [contination.pmc] .... [default.pmc] ^ | [scalar.pmc] ^ | [perlint.pmc] [array.pmc] .... For the perl* classes, it might be useful, to insert another "perlscalar.pmc" to inherit from. >>Summary: >>default.pmc catches errors, and may provide e.g. ->name or ->type. >>scalar.pmc will be the default scalar base class. > Why only (or even) ->name and ->type? Because e.g. a continuation shouldn't have a e.g. set_number(). > Here's a list of what seems reasonable to me, default-wise. I suspect we > agree more than it seems. [ SNIP ] Thanks for this comprehensive list. leo