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.
In reply to Re: How to get comments printed as log statements?
by BrowserUk
in thread How to get comments printed as log statements?
by will_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |