|XP is just a number|
is the use of map in a void context deprecated ?by arno (Scribe)
|on Oct 05, 2003 at 17:55 UTC||Need Help??|
arno has asked for the wisdom of the Perl Monks concerning the following question:
I've got -3 of reputation for my contribution here. As the update mentions my use of map in void context, i started searching about map function : i first used SuperSearch and found this. I read "use of map in void context is deprecated" ..
Then I go on searching through usenet, and in a french newsgroup archives ( fr.comp.lang.perl ) i could read this piece of code showing the use of map in void context is still valid :on the one hand :
d c a b
Useless use of sort in void context at -e line 1.
In perldoc -f map there's no use in a void context and they don't mention it at all. I hope you can tell me more about it
Thanks in advance,
janitored by ybiC: Convert <a href="http://www.perlmonks.org/index.pl...">dis and dat</a> links to [id://foo|and dem] PM style to not log out monks with cookie set to other domains.