[Catalyst] :Template() Attribute
Christopher H. Laco
claco at chrislaco.com
Fri Jun 15 16:27:54 GMT 2007
Perrin Harkins wrote:
> On 6/15/07, Christopher H. Laco <claco at chrislaco.com> wrote:
>> Imho, :Template('foo') is a lot more elegant than $c->stash->{'template'}
> =
> The trouble with putting things in attributes instead is that the sub
> declarations start to get really long and ugly, and you can't wrap
> attributes to another line. Readability of attributes in general is
> pretty poor, IMO.
> =
> - Perrin
> =
> =
Very true. Of course, you don't have to use them.
Just seems like a nice for this who wanted it when it works for them.
-=3DChris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070615/65de=
3e06/signature.pgp
More information about the Catalyst
mailing list