The ERRSV doesn't seem to output compilation errors in the code string.... I'm using perl5.8.9. Perl 5.10.0 had problems with ERRSV always being NULL. Gregeg, in C++: SV* result = eval_pv( code.c_str(), TRUE); if( SvTRUE(ERRSV) ) { // Print out errors }
In reply to perlapi - How to get compilation errors SV by gszczesz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |