Peter Gibbs wrote: > This version is (hopefully) functionally equivalent to PerlUndef, > i.e. it acts as an uninitialised scalar. When assigned a value, > it changes itself to the appropriate type (PerlInt/PerlNum/ > PerlString). The current level of functionality is therefore > sufficient to use it for creation of new PMCs.
I presume this doesn't take into account double-typed scalars (eg. $!). is this something we need to think about? > Incidentally, how would a PerlScalar be returned to undef status? what about this? new P0, .PerlScalar new P1, .PerlUndef set P0, P1 cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;