The only downside is that you'd lose the ability to access the outer hash from XSM
Not really, just keep a pointer to the wrapping hash also inside the C structure, as in the OP sample code.
In reply to Re^4: Mixing C and perl
by salva
in thread Mixing C and perl
by jpl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |