[Wellington-pm] Sum in one line

Douglas Bagnall douglas at paradise.net.nz
Mon Feb 28 19:27:52 PST 2005



> Anyway, does anyone know of a good oneliner ? 

not "good", but

my $total = eval(join(' + ', at numbers));


douglas


More information about the Wellington-pm mailing list