jithoosin has asked for the wisdom of the Perl Monks concerning the following question:
HI monks,
I am calling perlsubroutines from C. This is done using "call_pv" function. There subroutines which are called are in different files( packages) returns values back to C file. But if some thing like a seg fault occurs in perl file it causes the entire program to terminate. Could any of the esteemed monks tell a good way by which the C program should continue (no need to worry about returned values) even if the perl file cause seg fault. I referred to perldoc ,but was unable to find an answer
Thanks
Kiran.
I am calling perlsubroutines from C. This is done using "call_pv" function. There subroutines which are called are in different files( packages) returns values back to C file. But if some thing like a seg fault occurs in perl file it causes the entire program to terminate. Could any of the esteemed monks tell a good way by which the C program should continue (no need to worry about returned values) even if the perl file cause seg fault. I referred to perldoc ,but was unable to find an answer
Thanks
Kiran.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perlembed doubt
by borisz (Canon) on Feb 03, 2006 at 11:12 UTC |
Back to
Seekers of Perl Wisdom