On Mon, Jul 18, 2005 at 06:01:46PM -0400, Sam Tregar wrote:
> On Mon, 18 Jul 2005, Mark Stosberg wrote:
> 
> > In the current CGI::Application scheme, we solve this with mix-ins and
> > hooks for callbacks at various points. H::T seems rather mature already,
> > and I'm not suggesting making these kind of extensions to it. This seems
> > like a case where modifying the core strikes me as reasonable.
> 
> I think I'd take a patch to add a callback system like CGI::App has.
> I doubt it would be hard at all.

It's not hard. There are third-party modules to help, but recommend adding
your own, if only for a little extra performance.

> I really dislike systems that try to collapse hash dereferences and
> method calls into a single syntax.  Petal does this and it drives me
> nuts - I can never figure out what I'm looking at from the template.
> And it does matter because methods may have side-effects and hash
> derefs don't.

I can see your point here. Should we bring back the arrow for methods?
That seems to be the most obvious (Until Perl6 gets here). 

Or we could keep the dot notation because that's where Perl6 is going, 
and bring back the bracket notation for hashes. 

    Mark

-- 
http://mark.stosberg.com/ 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to