palette has asked for the wisdom of the Perl Monks concerning the following question:
Hi all
I recently came across something like map + . I learnt the difference between map and map + is like, map returns a hash while map + return array of anonymous hash.
Can anyone of you can tell me in which context map and map + is used with examples ie; why we require a hash in one place and why an array of anonymous hash in another.
Thankyou
I recently came across something like map + . I learnt the difference between map and map + is like, map returns a hash while map + return array of anonymous hash.
Can anyone of you can tell me in which context map and map + is used with examples ie; why we require a hash in one place and why an array of anonymous hash in another.
Thankyou
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: map +
by gellyfish (Monsignor) on Jun 21, 2005 at 09:23 UTC | |
Re: map +
by tlm (Prior) on Jun 21, 2005 at 11:07 UTC | |
Re: map +
by borisz (Canon) on Jun 21, 2005 at 10:09 UTC |
Back to
Seekers of Perl Wisdom