Hi Guys
I figured out why my code was segfaulting ... I was trying to access a perl scalar using get_sv(). The scalar has been lexically scoped with a my() but .. and here's the rub .. the perl subroutine that I am replacing with my C code occurs in the same scope as the my declaration and can see the scalar. So how come the C code can't?
Thanks ! Nitin