Oh holy smokes, that works nicely. I looked it up in
Statistics::Descriptive and could have kicked
myself. My way was pretty trivial and I think easy
for anyone to
understand. But it's not all that hard to do it your way,
and it has significant advantages. Well worth a look.
Thanks, tye.
buckaduck