You're welcome! Keep map and grep in mind, they're among the most useful functions you'll ever see for list processing.
For more useful list-related functions, see e.g. List::Util. (In particular, this contains a reduce function that sadly does not exist as a builtin.)
In reply to Re^3: Getting a result from "foreach" block
by AppleFritter
in thread Getting a result from "foreach" block
by v_melnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |