in reply to Propagating errors in C code to Perl
You can set $! from C, but you should probably only do so under very limited circumstances. $! is tied directly to the C macro errno which is almost exclusively used for IO errors. Look it up. Note that errno is a number.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Propagating errors in C code to Perl
by missingthepoint (Friar) on Sep 06, 2008 at 07:08 UTC | |
by Joost (Canon) on Sep 07, 2008 at 12:39 UTC | |
by missingthepoint (Friar) on Sep 08, 2008 at 00:26 UTC |