good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The goal is to reduce dependencies on templating systems. They are nice, but they don't do anything perl can't do alone. Moreover, Perl, Mason and TT all have easy solutions to Problem1, but that still does not address Problem2. There needs to be a way to output the content of the 'body' variable without having the 'inherited' portions interpolated. I was hoping for insight on how to address this issue, or at least workarounds from others who have encountered this specific issue before, assuming there are others. As far as I can discern, the only solution (be it TT, Mason, or whatever else) would be to convert the module code into some 'intermediate' format (XML, YAML, some other 'markup') and then 'scrape' the content out that way, thus avoiding interpolation of interspersed variables in the text
=oQDlNWYsBHI5JXZ2VGIulGIlJXYgQkUPxEIlhGdgY2bgMXZ5VGIlhGV
In reply to Re^2: modules, auto generated code and content management
by dimar
|
|