ln() for log(:base(e)) is fine. ln() for log to any other base is Just Plain Wrong.
The clash between 'log' for 'logarithm' and 'log' for 'write to log file' is unfortunate, but since you have to define logging parameters somewhere anyway, I'm OK with having to call that sort of log as a method on a logger object instead of as a top-level sub. All's fair if you predeclare, so you could use MMD to define log(Str) as a shortcut for writing to the log, but that's going to surprise folks who are used to log('1') returning 0. On Fri, Jul 10, 2009 at 3:16 PM, yary<not....@gmail.com> wrote: > +1 on using ln() instead of log() > > Also, systems I know of that implement both log() and ln() default > ln() with base e, as perl6 does, log() uses base 10. > -- Mark J. Reed <markjr...@gmail.com>