in reply to need help with array
Using foreach in simple terms using simple language, in case you don't understand the above:
use warnings; use strict; my @word = qw/ ONE TWO THREE FOUR/; foreach my $lcword (@word) { $lcword = lc($lcword); } print "@word";
HTH.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: need help with array
by holli (Abbot) on Jul 18, 2005 at 09:24 UTC |