Better, IMHO, is my @result = map $_ * 13, @data; as already suggested by AppleFritter and CountZero. (Better because more concise and expressive, and it just leaves $_ the heck alone.)
In reply to Re^4: Getting a result from "foreach" block
by AnomalousMonk
in thread Getting a result from "foreach" block
by v_melnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |