I am looking for a function which can be applied to every element of the string without spanning the whole array using map or any other loops.
Why? Any reasonable (non-golf) solution to this problem would use map or a loop. If you're a Scheme programmer, you could also use recursion, but you asked for a Perl solution and you have the reasonable Perl solution.
In reply to Re^3: Concatenation to elements in an array !
by chromatic
in thread Concatenation to elements in an array !
by pspillai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |