NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Undef? (Score:1)
Re:Undef? (Score:1)
Well, basically it is up to you, as the standard PMCs are a design matter.
However, if BooleanArray should keep track of definedness, then I propose to have a BitVector PMC with the current behavior.
What is also missing for PMCs, is a standard way of passing setup params. For the FixedBooleanArray it would be nice to pass an initial size and an initial storage size. Thus an FixedBooleanArray could start with a size of 0 and grow up to the allocated size.
/* Bernhard.Schmalhofer@gmx.de */