![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Do as I say. Not as I doby trantor (Chaplain) |
on Dec 17, 2001 at 16:44 UTC ( #132508=note: print w/replies, xml ) | Need Help?? |
Still, I think that the second snippet is not optimised for readability: functions like map and grep are sometimes obscure even for programmers with decent experience. Moreover, the block that map evaluates returns a hash reference, which could easily taken as a code block. Why not simply using the first block, pushing the hash reference into another array, not @in, like this:
Just my €0.02 -- TMTOWTDI
In Section
Meditations
|
|