[Catalyst] Re: template comparison (was: why not mason

Perrin Harkins perrin at elem.com
Fri Nov 3 17:35:38 GMT 2006


On Fri, 2006-11-03 at 15:29 +0100, A. Pagaltzis wrote:
> I know I wouldn’t miss plugins. If expressions were Perl, I’d
> simply be using modules. Plugins are just an artifact of having
> an extensive mini language.

When I say "plugins", I mean it in the broadest sense.  I usually just
use modules.  There's no need to use the actual plugin API unless you
need to do something to the TT internals.  For simple formatting things,
I just pass a sub ref in the stash and use it:

[% my_func(some.value) %]

- Perrin





More information about the Catalyst mailing list