Syntactic Confectionery Delight | |
PerlMonks |
Generating Hash-of-List using map?by cmv (Chaplain) |
on Sep 23, 2013 at 16:19 UTC ( [id://1055327]=perlquestion: print w/replies, xml ) | Need Help?? |
cmv has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks-
I don't quite understand why this one is so hard for me to figure out - please help! This code: Generates a Hash whose key is the alphabetical letter found before the dash, and whose value is the last numerical digit found for that letter How can I change the map command so that it will generate a list of all the numerical digits found? Something like this:
Thanks -Craig
Back to
Seekers of Perl Wisdom
|
|