in reply to PL/1's PUT DATA in Perl - is this possible?
You might like to look at Smart::Comments. With that, you place the variables of interest into a comment card and it gets traced.
The nice thing is that when your done debugging, you comment out the use Smart::Comments line and the trace output stops, but stays there for next time.
It is a source filter which are generally frowned upon, but as you disable it for production, the problems associated with source filters go away.
It's only downside (IMO) is that it's output is too verbose, producing multipe short lines for each trace line, but that can be fixed if it annoys you too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PL/1's PUT DATA in Perl - is this possible?
by Fletch (Bishop) on Nov 07, 2008 at 14:09 UTC | |
by ikegami (Patriarch) on Nov 07, 2008 at 19:05 UTC | |
by djp (Hermit) on Nov 13, 2008 at 01:13 UTC |