in reply to
Different usage of "my"
In the latter case
$key
and
$value
are visible after the while loop, in the former case they are not.
Comment on
Re: Different usage of "my"
Select
or
Download
Code
In Section
Seekers of Perl Wisdom