On 2004-01-02, at 12:51:04 +0000, Alberto Manuel Brand�o Sim�es wrote:

> On Thu, 2004-01-01 at 21:50, Marcus Holland-Moritz wrote:
> > First, don't pass NULL as RETVAL. This looks to me like you want to
> > return an undefined value. Use XSRETURN_UNDEF instead.
> 
> True.

I was browsing the CPAN yesterday. A lot of people seem to assume
that it's valid to return NULL as an AV*. It isn't. It even causes
a segmentation violation.

-- 
Power corrupts.  And atomic power corrupts atomically.

Reply via email to