in reply to
a general question on references...
Perl is smart enough to know that something is still referencing %hash and doesn't clean it up when leaving get_hash.
Comment on
Re: a general question on references...
In Section
Seekers of Perl Wisdom