On Fri, Jan 04, 2002 at 02:57:29PM -0500, Jason Gloudon wrote:
> This makes PerlUndef somewhat functional by adding logical,
> arithmetic, and repeat methods.

Cool, thanks.

>     STRING* get_string () {
> -      return NULL;
> +      return string_make(INTERP,NULL,0,NULL,0,NULL);
>     }

I did this as essentially an assertion, to make sure that people
check string pointers before merrily derefering them. Everything
ought to be able to cope with NULL strings.

>     void add_same (PMC * value,  PMC* dest) {
> +      dest->vtable->set_integer_native(INTERP, dest, 0);
>     }

Adding undef to undef? Why bother? :)

-- 
I decided to spread the bad mood: Dress To Depress.
    - Red Drag Diva

Reply via email to