http://www.perlmonks.org?node_id=1004362


in reply to Re^3: xs modifying passed value
in thread xs modifying passed value

Well blow my doors off ...

Bulk88 snaps thy fingers and poof it works!

Thank you!

following your lead (pretty near exact cut and paste), Impressive!.

int MyLib::strToInt(passfailSV) SV* passfailSV PREINIT: bool passfail; CODE: RETVAL = THIS->strToInt(&passfail); SvSetMagicSV(passfailSV, passfail ? &PL_sv_yes : &PL_sv_no); OUTPUT: RETVAL

I have been so over thinking this ...

Much Thanks

-Enjoy
fh : )_~