ownlifeful has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Oh Wise Perlmonks,
I have inherited a large RequestTracker ( based on Mason ) codebase. There are so many components and subcomponents to this system. It is difficult to pinpoint which component emitted which chunk of HTML.
So I was thinking of writing a Mason handler that would put in HTML comments before and after the output from each component, so that it is simple to trace the output back to the originating component.
<!--- BEGIN navbar ---> <NAVBAR>...</NAVBAR> <!--- END navbar ---> <!--- BEGIN content ---> ... <!--- END content --->
Before I start, I would like to seek your collective wisdom. Has someone already done this? Any guidance on how to go about doing it?
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tracin' Mason
by talexb (Chancellor) on Sep 15, 2022 at 15:45 UTC | |
by ownlifeful (Beadle) on Sep 15, 2022 at 18:59 UTC | |
by talexb (Chancellor) on Sep 19, 2022 at 21:45 UTC | |
by Anonymous Monk on Sep 16, 2022 at 11:42 UTC | |
by Anonymous Monk on Sep 16, 2022 at 11:49 UTC |