We don't bite newbies here... much | |
PerlMonks |
Re: map and grep or clear code?by ikegami (Patriarch) |
on Jan 31, 2012 at 10:13 UTC ( [id://950925]=note: print w/replies, xml ) | Need Help?? |
Your code:
Simpler procedural code:
Simpler functional code:
In this case, both the procedural and function approach are quite clear. It's very ironic that you're calling map unclear when your variable name indicates you're thinking in terms of a map.
In Section
Seekers of Perl Wisdom
|
|