This goes right along with my problem. How can you tell how much memory
(RAM) the hash takes?
- Original Message -
From: "Doug Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 5:04 PM
Subject: RE: Find the number of elements in a hash.
I want to know how much space a hash is using.
The hash hashes straight scalar values as well as anonymous lists.
If I have a reference to the object ($obj), how can I
print "Object is using ".amount_of_RAM_used_by($obj)." bytes of RAM.\n";
Help! I've searched google, the Oreilly cd bookshelf, a