arunhorne has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
How can I find out how much memory my datastructure is using up, e.g. if I have:
my %struct = ("key1" => ["bill","ben"], "key2" => ["dave","jen"]);
Is the some function I can pass a reference, \%struct to to find out the memory usage?
Thanks,
____________Arun
Back to
Seekers of Perl Wisdom