good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Surpised by foreach iterator limitationby shotgunefx (Parson) |
on Apr 08, 2003 at 03:06 UTC ( [id://248787]=note: print w/replies, xml ) | Need Help?? |
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."
In Section
Seekers of Perl Wisdom
|
|