Error Handler in Embedded Perl

G

Guenther Sohler

Hallo,

I have a embedded perl in my c program.
Whenever perl creates an error(eg function not found)
it quits my whole program. i dont want this.
I want a callbackfunction to be called instead.
How can I register such a callback function ?
Where can I find documentation on that ?
 
A

Anno Siegel

Guenther Sohler said:
Hallo,

I have a embedded perl in my c program.
Whenever perl creates an error(eg function not found)
it quits my whole program. i dont want this.
I want a callbackfunction to be called instead.
How can I register such a callback function ?
Where can I find documentation on that ?

perldoc perlcall, look for the G_EVAL flag.

Anno
 
G

Guenther Sohler

On Mon, 23 May 2005 11:08:35 +0000, Anno Siegel wrote:
Hallo Anno,

It works wery fine,
thank you for your help!
 
A

Anno Siegel

Guenther Sohler said:
On Mon, 23 May 2005 11:08:35 +0000, Anno Siegel wrote:
Hallo Anno,

It works wery fine,
thank you for your help!

What does? Quote some context when you reply. That *you* see the
posting you are replying to as you write doesn't mean your readers
see it when they read it. Show some consideration.

Anno
 
A

Arndt Jonasson

What does? Quote some context when you reply. That *you* see the
posting you are replying to as you write doesn't mean your readers
see it when they read it. Show some consideration.

I think that many people post a quick question here, get an answer,
give thanks, and then don't read anything further. This seems especially
probable to me if they apparently haven't read the posting guidelines.
 
A

Anno Siegel

Arndt Jonasson said:
I think that many people post a quick question here, get an answer,
give thanks, and then don't read anything further. This seems especially
probable to me if they apparently haven't read the posting guidelines.

I realize that, though in this case the OP *has* posted again. I'm
writing these replies more for the general benefit than for the
individual I'm replying to. Not that I have any illusions about
googlistas and their propensity to lurk before they post, but not
replying would look like endorsement.

It's a nuisance.

Anno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top