Leopold Toetsch wrote:
Ion Alexandru Morega <[EMAIL PROTECTED]> wrote:
... then i'll rewrite perlstring.pmc and possibly the other
perlscalar subclasses (derive them from Float, Integer, etc) if that's
needed.


I think, we should have
scalar
  Integer
     Boolean
     PerlInt
  Float
     PerlNum
  String
     PerlString
  BigNum

So then Perl will have access to BigNum only as an ordinary class?

What about refs? maybe:

scalar
  Ref
    PerlRef

Should Integer, String etc morph when set/assigned or should that just be for Perl classes? IMHO morphing should only happen for Perl* (that being the only thing different from the more basic PMC's). But what is the job of scalar then?

leo

alexm

Reply via email to