in reply to Scope of Hash variable

The variable is global, and should stick around until Perl sees nothing referencing that variable. When Perl sees a variable is not going to be used anymore, and that nothing is referencing it in memory, it should take care of it.

Cheers,
KM