laziness, impatience, and hubris | |
PerlMonks |
Re: In Defense of Smart::Commentsby andreas1234567 (Vicar) |
on Jun 06, 2010 at 14:06 UTC ( [id://843338]=note: print w/replies, xml ) | Need Help?? |
Smart::Comments does have a shortcoming which I find serious. This is, it prints all its output to the screen via STDERR. This is hardwired; there's no way to change it, except perhaps by redirecting STDERR elsewhere.This is just one on many reasons to use Log::Log4perl instead of Smart::Comments. I often use it together with Log::Dispatch::FileRotate to retain a given number of logs of a known size to be able to backtrack problems after the fact.
-- No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
In Section
Meditations
|
|