Perl: the Markov chain saw | |
PerlMonks |
Re: Why is the size even bigger after pack?by grantm (Parson) |
on Nov 03, 2011 at 04:37 UTC ( [id://935581]=note: print w/replies, xml ) | Need Help?? |
Devel::Size it telling you how many bytes are taken up by the C structure(s) that are used to represent your Perl variable. The numbers you're getting suggest it takes 24 bytes to represent a scalar containing an integer and 48 bytes to represent a scalar containing a string. I can't say I find that particularly surprising.
In Section
Seekers of Perl Wisdom
|
|