Re: [PATCH] PerlUndef PMC methods

2002-01-05 Thread Simon Cozens
On Fri, Jan 04, 2002 at 03:14:05PM -0500, Dan Sugalski wrote: > Want to apply the bits you want, then? Or shall I commit the whole thing? I've committed the whole thing for now, since Parrot segfaults without it. :) -- Testing can show the presense of bugs, but not their absence.

Re: [PATCH] PerlUndef PMC methods

2002-01-04 Thread Jason Gloudon
On Fri, Jan 04, 2002 at 03:14:05PM -0500, Dan Sugalski wrote: > >Adding undef to undef? Why bother? :) > > Who needs to initialize variables anyway? :) > > We need to add in some warning code, I think. I'll stub out an interface. Exceptions of some kind would be nice too :) -- Jason

Re: [PATCH] PerlUndef PMC methods

2002-01-04 Thread Dan Sugalski
At 08:06 PM 1/4/2002 +, Simon Cozens wrote: >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. Want to apply the bits you want, then? Or shall I commit the whole t

Re: [PATCH] PerlUndef PMC methods

2002-01-04 Thread Simon Cozens
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

[PATCH] PerlUndef PMC methods

2002-01-04 Thread Jason Gloudon
This makes PerlUndef somewhat functional by adding logical, arithmetic, and repeat methods. Index: global_setup.c === RCS file: /home/perlcvs/parrot/global_setup.c,v retrieving revision 1.12 diff -u -r1.12 global_setup.c --- global_