Hi,
I dont know if I'm just staring at this wrong, but it looks like a bug to me...
'map' is supposed to go through a list and perform an expression on each element and return the new list with the result...
@nums=(1,2,3);
foreach $n (@nums) {print "init: $n\n"}
@nums_plus_one=map...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.