Hi! Here is second version of my patch. Now it uses SvPV_force_nomg() as suggested. I added also test for tied magic scalars.