Greetings, monks.
I've been tinkering with Inline::C recently, and found myself printing error messages from C directly. I consider this bad juju for all but trivial uses of C-in-Perl... So what is the best way to propagate errors at the C level to Perl? I think some of Perl's builtins (the ones which do syscalls?) set $! on error. Can I set this variable from C? Is there a better way to report errors that occur in C code?
Awaiting your wisdom,
mtp
In reply to Propagating errors in C code to Perl by missingthepoint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |