[jifty-devel] Template::Declare Updates

David E. Wheeler david at kineticode.com
Mon Oct 5 20:49:20 EDT 2009


On Sep 8, 2009, at 4:45 PM, Ruslan Zakirov wrote:

> It can be moved to the end of the file and documented like, this is
> helper and you should use different syntax to set attributes of the
> tags. Undocummenting and comment probably will solve confusion as
> well.

I've moved it to the end, just below `under` and documented it like so:

> =head2 append_attr
>
> C<append_attr> is a helper function providing an interface for setting
> attributes from within tags. But it's better to use C<attr> or C<is>  
> to set
> your attributes. Nohting to see here, really. Move along.

But again, I left it commented-out, since I it seems that `attr` and  
`is` are the ways to set attributes.

Best,

David


More information about the jifty-devel mailing list