On Mon, May 21, 2012 at 10:08:34PM +0200, Carl Mäsak wrote:
>
> @a = @a.map: { lc $_ };
> @a = @a.map: { .lc };
> @a = @a.map: &lc;
> @a = @a».lc;
> @a».=lc;
> @a = (.lc for @a);
>
> Many ways to skin a cat -- [...]
Also:
@a .= map(*.lc);
@a .= map: *.lc
This somewhat keeps the mnemonic of " .= map(...) " performing
an "in-place" mapping on @a.
Pm
