Oh the irony

autarch on 2005-07-21T15:10:54

If Sam were dead, I think he'd be rolling in his grave.


I guess the author doesn't get it...

sigzero on 2005-07-21T16:48:50

That is exactly what HTML::Template was designed NOT to do.

Hhahahah

samtregar on 2005-07-21T18:24:59

Well, I did personally create the abortion know as HTML::Template::Expr, but this is really beyond the pale. I love how the example is presented in a HERE doc! Hey, why put it in a separate file at all!

-sam

Unbelievable

davebaker on 2005-07-21T19:20:42

This is like those little wooden Russian dolls ... a doll within a doll within a doll ...

Re:Unbelievable

autarch on 2005-07-21T19:53:51

That comment made me realize that one could call HTML::Template from the embedded Perl code. That'd be brilliant!

Recursive programming

davebaker on 2005-07-21T20:06:43

Perhaps we've stumbled onto some whole new paradigm for web programming-- the recursive script :-)

Re:Unbelievable

ziggy on 2005-07-22T15:15:23

It's the same old pattern in a different light. Ingy had a hack to interpret dynamically generated Perl code from within cpr.

Yep -- using C to generate Perl within an interpreted C script that's run by Inline.pm, within a Perl interpreter. I'm just waiting for Pugs / Ponie to support this most egregious of hacks. ;-)