FAQ
Cheers. Wiki ammended to be clearer on this.
On 06/02/06, Matt S Trout wrote:
On Mon, Feb 06, 2006 at 11:41:14AM +1100, Kieren Diment wrote:
There's some useful information on the wiki about best practices. I
particularly like this one:

MyApp::View::TT->config(
CATALYST_VAR => 'Catalyst',
# ...
);

to enforce [% Catalyst.config.frobnicator %] rather than just [%
frobnicator %].
Shouldn't this be the default - i.e. auto generated in catalyst.plMyapp?
The default is 'c' - i.e. [% c.config.frobnicator %]

This is used for consistency with the $c convention in code, and for
brevity
in templates. I think these are both excellent reasons for keeping it the
way it is.

--
Matt S Trout Offering custom development, consultancy and
support
Technical Director contracts for Catalyst, DBIx::Class and BAST.
Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more
information

+ Help us build a better perl ORM:
http://dbix-class.shadowcatsystems.co.uk/ +

_______________________________________________
Catalyst mailing list
Catalyst@lists.rawmode.org
http://lists.rawmode.org/mailman/listinfo/catalyst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060206/f6b3c6a8/attachment.htm

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedFeb 6, '06 at 1:33a
activeFeb 6, '06 at 2:02a
posts3
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

Kieren Diment: 2 posts Matt S Trout: 1 post

People

Translate

site design / logo © 2021 Grokbase