in reply to Re^2: Balancing Logging and Code Readability
in thread Balancing Logging and Code Readability

Smart::Comments or Devel::StealthDebug?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP PCW It is as I've been saying!(Audio until 20090817)
  • Comment on Re^3: Balancing Logging and Code Readability

Replies are listed 'Best First'.
Re^4: Balancing Logging and Code Readability
by saberworks (Curate) on Sep 14, 2009 at 18:41 UTC
    Ah, yes, Smart::Comments is the one I remember seeing. Looks like a cool module and may help the OP. However, there are quite a few bugs open and no new release in a year and a half, so that may be something to consider.

      Smart::Comments is very useful for debugging, but not so good for permanent logging as it uses a source filter which most people elect not to use in production code.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        Thanks BrowserUk. As I noted in my Update to my original post, I tend to use logging more for flexibilitly in capturing script results rather than for debuggin. So your observation is especially appropo to my challenge. Thanks so much. Yours and saberworks's thread was really intersting and enlightening for me.

        ack Albuquerque, NM

      I'll look into that module. It sounds interesting. Thanks saberwords and BrowserUk.

      ack Albuquerque, NM