Hope this get's put in the correct thread. I didn't get subscribed the first time I tried, so I didn't get any of the replies. I saw them on the mailing list archives however.
Thanks for your help, It pointed me in the right direction. The problem was with the line where I was creating a new SV*: SV* sv_new_key = newSVpv( "_col_", 5 ); I changed this to : SV* sv_new_key = sv_2mortal( newSVpv( "_col_", 5 ) ); and now everything works. Thanks, Shane Corgatelli [EMAIL PROTECTED]