"Steven N. Hirsch" <[EMAIL PROTECTED]> writes:

> On 23 Jan 2002, Jason E. Stewart wrote:
> 
> > > Yours is the very first Perl XS extension I've seen which plays with
> > > $@ and die to propagate errors back to the Perl caller (an education
> > > in itself - thanks!)  Had you ever considered an alternate means of
> > > error handling?
> > 
> > I must acknowledge a tutorial from Matt Seargent that first showed how
> > to do that, I just liked it and used it.
> 
> Is that tutorial publically available?  I'd love to see it.

Stas Beckman's mod_perl guide has a nice section on exception handling
in perl.

  http://thingy.kcilink.com/modperlguide/perl/Exception_Handling_for_mod_perl.html

The only thing that I had to figure out was how to do the same thing
using the C API to Perl. I can't remember where I found out how to set
$@, but I think I was digging through someone else's XS code.

> > > Probably I'm just frustrated from my repeated efforts to track down
> > > misbehavior under AIX.  Something is going very wrong with exception
> > > handling in C++, and I'm unable to convince any of the available
> > > debuggers to properly trace execution.  So, pay no attention to my
> > > ravings.. <g>.
> > 
> > I wish I could help more, but without access to an AIX box, I'm afraid
> > I can't do much. If you could get me some kind of account, I might be
> > able to help. I don't know if IBM is interested in donating some
> > hardware to Apache or SourceForge, but if they did, I'm sure that it
> > would help.
> 
> Unfortunately, I'm too low on the totem pole to influence this sort of
> thing.  Non-IBM personnel are not permitted on the internal network but
> perhaps I can find a friendly soul in the outside world with an AIX
> platform and spare cycles.  Let me work on it..

Ok. Let me know if you have any success.

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to