in reply to how to extract strings from HTML::Mason components?

Less hacky might be to run the components through a different implementation of sub __ which simply logs the current component and the argument.

The cake is a lie.
The cake is a lie.
The cake is a lie.