in reply to Templating algorithm - pass in variables vs callback?

I'm really curious as to why template modules take hashrefs. I notice most, if not pretty much all, template modules take this view.
HTML::ELement::Library which is the main support library for HTML::Seamstress has mainly API functions based on callbacks and very few based on complete data.

Per conversation with Fergal, Petal also offers callbacks.

  • Comment on Re: Templating algorithm - pass in variables vs callback?