in reply to Re: Remove lowest number
in thread Remove lowest number
Update: or just drop the pop and dice up a slice:use List::Util qw(sum); my $sum = sum(@all);
my $sum = sum( @all[0 .. $#all-1] );
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|