in reply to How to get comments printed as log statements?

You should be able to tweak Smart::Comments to do this without too much effort.

Personally, I use Devel::Trace for this sort of thing. It traces out every line of code as it runs, but I think you could fairly easily tweak it to only trace the comments.


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.
  • Comment on Re: How to get comments printed as log statements?