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


in reply to Is an SV and IV or a PV or an NV or a UV? How can I tell?

Here is a hackish way I figured out of telling what your SV is using pure perl.

breaking open a scalar with unpack P
  • Comment on Re: Is an SV and IV or a PV or an NV or a UV? How can I tell?