in reply to The hidden charm of Template::Toolkit (and templates generally)
From personal experience, what I like with TT (in Catalyst) is that it gives a nice degree of abstraction. You can pass an object, hashref, array or whatever, and it just works out what to do with it. It is much more like a very loose script language that doesn't worry itself too much about data types and just keeps going trying to get the job done. Perl is also a bit like that, but less so. I find the change in feel to be about right.
If you're talking about Catalyst though, you almost certainly can do it the way you propose, if you wish. Anything can be a View, I think.
|
|---|