in reply to Re^4: perl XS - passing array to C and getting it back
in thread perl XS - passing array to C and getting it back

If you take the path of real XS code, be sure to use Devel::PPPort from the start. It'll save you a lot of headaches later.

Then read the docs (twice):

$ perldoc perlxs $ perldoc perlxstut $ perldoc perlxstypemap

Enjoy, Have FUN! H.Merijn