Dear monks, my question is as short as title:
How can I add directory to @INC from C code, when I'm embeding perl?
A little bit longer explanation. I have embeded perl in my c application, but I have problem, that even without xs_init() like here embedding perl functions with 'use()' I get error: Can't locate module-name.pm in @INC ... (@INC contains .) I understand, that it is because @INC is not iniialized automatically, so it is empty.
In reply to How @INC can be managed from c code? by DrMoisha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |