in reply to Scalar Storage Type Discovery
use Devel::Peek; $a = 42; Dump $a; The output: SV = IV(0xbc818) REFCNT = 1 FLAGS = (IOK,pIOK) IV = 42
The PVIV, IV, RV and other types are explained in perlguts.
For anyone who is interested, there is a good explanation in the Internal Variables section of Simon Cozens Perl 5 Internals.
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Scalar Storage Type Discovery
by tadman (Prior) on Aug 23, 2002 at 09:19 UTC |