Hi,
I'm experimenting with conversion of a mason template based system to tt2.
I tried to set TT2Tags to mason and then to % however this, even with
the evaluate option to on, doesn't seem to work. (Apache::Template)
I then wrote a custom handler which uses a custom parser, which I've
On Mon, 8 Apr 2002, Rafiq Ismail (ADMIN) wrote:
Converting Mason to TT2 stuff
Hi.
May I suggest you repost this to the template toolkit list?
http://www.template-toolkit.org/mailman/listinfo/templates
Sounds like you're getting confused between [% %] for template code
and [% PERL %] ... [%
Mark Fowler wrote:
Sounds like you're getting confused between [% %] for template code
and [% PERL %] ... [% END %] for actual real perl code
Agreed. Also, any significant Mason component is likely to use Mason's
built-in object model, which is not part of TT. You will probably have
to
Mark Fowler wrote:
Agreed. Also, any significant Mason component is likely to use Mason's
built-in object model, which is not part of TT. You will probably have
to port some code before it will run.
Understood, but it's a small application which is more custom o.o. perl
and inline perl
Rafiq Ismail (ADMIN) wrote:
It's just the fact that in spite of my specifying that it should use
inline_perl, it didn't interpolate the inline code which uses custom
modules in mason tags. I've got it to try and interpolate now, however it
seems to warn that $VARNAME's are odd symbols.
If