in reply to hash question

The scope for the 'my' variable vanishes outside the block.
--Artist

Reparented from duplicate thread Reaped: hash question by Arunbear