http://www.perlmonks.org?node_id=170651


in reply to Embedding Perl in C -- access to builtins?

When embedding C in Perl, you also need to access perl's builtins. So (confusingly for someone going in your direction) perlguts holds the keys to handling xVs.