I once considered trying to use the UNTIE() method (see the end of the untie gotcha in the perltie manpage), for this purpose, but never pursued it. Might be worth a look.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.