in reply to Re^3: why SvUV() would crop to 32 bits?in thread why SvUV() would crop to 32 bits?
Tip:
You can replace
if(SvGMAGICAL($input)) mg_get($input); [download]
SvGETMAGIC($input); [download]
(Just spotted that in a cursory glance. Didn't look at the rest.)