in reply to Re: need help with array
in thread need help with array

You can even let lc use $_ implicitly:
my @wordlwr = map {lc} @word;

Replies are listed 'Best First'.
Re^3: need help with array
by socketdave (Curate) on Jul 18, 2005 at 16:33 UTC
    or one character less:

    my @wordlwr = map lc, @word;

    since map can take an expression or a block as it's first argument... now i'll take a bow for the lamest golf ever...