Syntactic Confectionery Delight | |
PerlMonks |
Re^4: How to Map a scalar to a key that is an array?by Laurent_R (Canon) |
on Aug 01, 2019 at 21:15 UTC ( [id://11103738]=note: print w/replies, xml ) | Need Help?? |
Why do you comment out these two lines? It is usually a very bad idea. Otherwise, the more idiomatic way to write your foreach loop would be to declare $key within the loop:
In Section
Seekers of Perl Wisdom
|
|