What should these three code fragments print:
newclass P1, "Foo" classname S1, P1 print S1
----
newclass P1, "Foo" find_type I0, "Foo" new P2, I0 classname S2, P2 print S2
----
new P3, .PerlInt classname S3, P3 print S3
----
At the moment, we get:
Foo Foo Segmentation fault
Note that the second fragment only works because currently PCD_CLASS_NAME and POD_CLASS_NAME occupy the same slots in their respective enums; are we prepared to guarantee that this will always be the case?
Yes, we are. I'm seriously considering redoing class and object internals--I'm just waiting until the metaclass stuff settles in. (Like a plague, alas)
The segfault's wrong, though. That needs fixing. -- Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk