in reply to Re: How would you rewrite this?
in thread How would you rewrite this?

Change that last hash key to $k and it looks good to me! Thanks.