On Thu, 10 Jan 2002, Billy Patton wrote: > I am using croak in my XS when a value passed in or something else is > wrong to exit my XS. > > But his presents a problem with the .t files I'm writing for testing. > If I pass a bad value to my xs routine expecting it to fail, then croak > will exit. and the make test will fail.
If I were you I would wrap each test in an eval {} block. croak is
exactly the right thing to do.
- D
<[EMAIL PROTECTED]>
