in reply to length of string in array
And if you actually want to use a (completely supererogatory) List::Util::sum() function:
c:\@Work\Perl\monks>perl -wMstrict -le "use List::Util qw(sum); ;; my @t = qw/aA bB cC dD eE fF/; my $x = sum map length, @t[0 .. 1]; print $x; " 4
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. |
|---|