in reply to Get logarithm of base 10
sub log10 { my $n = shift; return log($n)/log(10); } [download]
-- dempa