From: Mike S. <m...@pe...> - 2010-07-10 06:08:33
|
On Thu, 8 Jul 2010, Tomáš Nechutný wrote: > I can live without it (and use sprintf() return value as a parameter > to log methods), but it would be nice. Yeah, sprintf() should take care of all your formatting needs. I've found that I use printf() very rarely in Perl, because you can interpolate variables so elegantly in strings. Also, there's a lot of hidden functionality in the loggers as is (think about loggers that take fixed arguments like database loggers, or that you can pass a subroutine to any logger which it will then evaluate), so having printf-like functions would considerably complicate things. But thanks for the suggestion! -- Mike Mike Schilli m...@pe... |