Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^4: Balancing Logging and Code Readability

by saberworks (Curate)
on Sep 14, 2009 at 18:41 UTC ( #795199=note: print w/replies, xml ) Need Help??

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

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.
  • Comment on Re^4: Balancing Logging and Code Readability

Replies are listed 'Best First'.
Re^5: Balancing Logging and Code Readability
by BrowserUk (Pope) on Sep 14, 2009 at 19:04 UTC

    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
Re^5: Balancing Logging and Code Readability
by ack (Deacon) on Sep 17, 2009 at 02:08 UTC

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

    ack Albuquerque, NM

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://795199]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2021-02-27 16:57 GMT
Find Nodes?
    Voting Booth?

    No recent polls found