Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2014-10-24 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (132 votes), past polls