in reply to Re^2: Output should have multiple segments
in thread Output should have multiple segments

$m->notes is very useful.

That said, I dislike & mistrust using Mason's filter stuff, though there are times & ways in which I think it is the most expedient option.
  • Comment on Re^3: Output should have multiple segments

Replies are listed 'Best First'.
Re^4: Output should have multiple segments
by John M. Dlugosz (Monsignor) on Jul 18, 2008 at 07:34 UTC
    I guess notes was added after the books were written. It's basically global variables that don't need to be declared. Handy to have a component "return" the generated text but still be able to present values back to the caller. Gee, I thought that was all evil stuff? Making it seem new again for a new generation!

    I've not used Filter yet, but I'm less concerned if filtering individual components such as to mark the current page in a navigation menu, because you can be sure what to expect in the text to grep.

    —John