in reply to Re: Why do I get a "used only once" warning here?
in thread Why do I get a "used only once" warning here?
The reason why I haven't put it into the log package is that this "log once" logic is supposed to be done only for a few selected logs. If I put it into the log package, I would have to write a new logging function, say log_once. Actually this is a serious alternative and I was thinking to do it, but when I started to implement this feature, I thought it would be easily possible too to have this logic implemented without changing/extending the logging package, then was trapped by the unexpected warning, and then my curiosity took over....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why do I get a "used only once" warning here?
by repellent (Priest) on Mar 16, 2009 at 16:01 UTC | |
by rovf (Priest) on Mar 16, 2009 at 17:45 UTC |