in reply to Re: Problem generating a hashtable
in thread Problem generating a hashtable

I only wish everyone who used map in their code would do so as beautifully as you did in your 2nd example. Multiple lines! Named variables! I can understand at a glance exactly what this does. Map has been a learning hurdle for me in all my years of Perl Development, mostly because nearly all examples of it I see obfuscate its actual function. Thank you for this good example.