> > I think your pattern match will only catch a literal AZ_OK,
> > not the constant. And I'm not sure, but AZ_OK might evaluate
> > to 0. At least I think I remember having trouble with that
> > module because it returns 0 on success, and I kept testing
> > for TRUE/FALSE based on the return
On Wed, 6 Aug 2003 11:33:18 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote:
>
> > > I think your pattern match will only catch a literal AZ_OK,
> > > not the constant. And I'm not sure, but AZ_OK might evaluate
> > > to 0. At least I think I remem
> I think your pattern match will only catch a literal AZ_OK,
> not the constant. And I'm not sure, but AZ_OK might evaluate
> to 0. At least I think I remember having trouble with that
> module because it returns 0 on success, and I kept testing
> for TRUE/FALSE based on the return status.
Muey
Cc: [EMAIL PROTECTED]
Subject: RE: Archive::Zip funnny return status
On Wed, 6 Aug 2003 11:33:18 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote:
>
> > > I think your pattern match will only catch a literal AZ_OK, not
I think your pattern match will only catch a literal AZ_OK, not the
constant. And I'm not sure, but AZ_OK might evaluate to 0. At least I
think I remember having trouble with that module because it returns 0 on
success, and I kept testing for TRUE/FALSE based on the return status.
-Original