in reply to Re^3: small steps toward Perl literacy, temp vars and parentheses
in thread small steps toward Perl literacy, temp vars and parentheses
I would definitely use for my ($min_key) = there; using a for that modifies $_ beyond the scope of the for itself is just begging to mess someone else up.