|Just another Perl shrine|
Basic help with mappingby bradcathey (Prior)
|on Nov 22, 2005 at 04:11 UTC||Need Help??|
bradcathey has asked for the wisdom of the Perl Monks concerning the following question:
I'm a little embarrassed to be this far into monkdom and still not understanding mapping (and grepping for that matter). I'm trying to alter a specific key's value in a AoH ref. I tried mapping a simple array and no problem. But I get the feeling I'm missing something really important as I'm getting zero results with my latter expressions.
Comments? or can you point me to a good tutorial? Thanks in advance.
Update: I guess I was using map when I should have just been using the good olde foreach. But, hey, I'm a lot closer to getting it with everyone's help. Thanks.
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot