in reply to need help with array

Or:

my @wordlwr = map { lc($_) } @word;

Replies are listed 'Best First'.
Re^2: need help with array
by themage (Friar) on Jul 18, 2005 at 16:10 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...