Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Mixing C and perl

by salva (Abbot)
on Jan 17, 2012 at 22:13 UTC ( #948430=note: print w/replies, xml ) Need Help??


in reply to Re^3: Mixing C and perl
in thread Mixing C and perl

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.