Classname op semantics

2004-03-17 Thread Simon Glover
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

Re: Classname op semantics

2004-03-17 Thread Dan Sugalski
At 2:24 PM -0500 3/17/04, Simon Glover wrote: 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