owler1 has asked for the wisdom of the Perl Monks concerning the following question:

I have started to try and use Smart::Comments today, and am also running my script under the perl debugger. As I don't really want the backtrace called every time it hits a smart comment, does any anybody know a simple way to switch this off?

Replies are listed 'Best First'.
Re: Smart Comments debugging
by Herkum (Parson) on Apr 07, 2007 at 13:02 UTC
    Comment out the use statement.
    # use Smart::Comments;
      Thanks for your response Herkum, however that won't print the smart comments after you comment out the use statement. The aim is to have the Smart Comments but not the backtrace

        Then your problem isn't really with Smart::Comments or the debugger, but that you are using two incompatible tools to do debugging. You should either use just the debugger, or Smart::Comments, not both.