[jifty-devel] Difference Between alias and import_templates in Template::Declare

David E. Wheeler david at kineticode.com
Wed Oct 14 16:37:55 EDT 2009


On Oct 14, 2009, at 12:48 PM, Shawn M Moore wrote:

>> delegate '/foo' in This::Class to  Some::Class setting {};
>
> This would be confusing. I'd think it was taking the /foo template in
> This::Class and putting it into Some::Class.

Yeah, that was my problem with it. I started with

   send '/foo' in This::Class to Some::Class, setting {};

I don't think you could do it without more commas, though. It is  
better English, but it's a little weird syntactically.

Best,

David


More information about the jifty-devel mailing list