/* if SvROK(ST(1) is true, i.e. it's a reference */ printf("\nDEBUG: Type is %d\n",SvTYPE(SvRV(ST(1)));