After looking at the internal data types PDD and the vtable PDD (which by the
way is truncated on dev.perl.org in the pdd and HTML form), I can't make sense
of the separate float_type and num_type declared in the vtable structure.

struct _vtable {
  struct PACKAGE *package;
  INTVAL base_type;
  INTVAL int_type;
  INTVAL float_type;  ************
  INTVAL num_type;    ************
  INTVAL string_type;

Also, the NUM, INT and STR types are being implemented as the concrete
FLOATVAL, INTVAL, STRING types. This is not the design goal correct ?

For example, the current get_integer vtable functions generated for the scalar
class will only return INTVALs but my impression is that they could return
INTVALs or BigInt values, so that the current scalar class function prototypes
will eventually change.

-- 
Jason

Reply via email to