Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^4: A memory efficient hash, trading off speed - does it already exist?by diotalevi (Canon) |
on Feb 04, 2003 at 15:46 UTC ( [id://232559]=note: print w/replies, xml ) | Need Help?? |
I think you were looking for Devel::Pointer. You'd have to find a way to manage the referent's reference count (B allows you to fiddle with it directly). If I were going to extend your module to use references I'd go this route - store the reference using the normal means and revivify it on demand. Seeking Green geeks in Minnesota
In Section
Seekers of Perl Wisdom
|
|