http://www.perlmonks.org?node_id=248787


in reply to Re: Surpised by foreach iterator limitation
in thread Surpised by foreach iterator limitation

Umm.. I wasn't attempting to iterate through a hash. I was trying to extend a validation function that takes a hash as it's argument to accept multiple values in the laziest way possible. $hash{key} is a scalar variable and can be localized, so I assumed it could be used any place a scalar could which was the point of the post.

-Lee

"To be civilized is to deny one's nature."