# New Ticket Created by  Peter Gibbs 
# Please include the string:  [perl #16098]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=16098 >


Attached is the first draft of perlscalar.pmc (and the patches 
needed to add it to Parrot). (NB PerlScalar is type number 
13 - but I don't think parrots are generally superstitious)

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.

Incidentally, how would a PerlScalar be returned to undef status?
-- 
Peter Gibbs
EmKel Systems



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/33388/27470/f149bb/perlscalar.pmc

-- attachment  2 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/33388/27471/74c551/perlscalar.patch

Attachment: perlscalar.pmc
Description: perlscalar.pmc

Attachment: perlscalar.patch
Description: perlscalar.patch

Reply via email to