[Catalyst] Setting Template Tookit WHILE_MAX from Catalyst

J. Shirley jshirley at gmail.com
Mon Jan 26 21:43:26 GMT 2009


On Mon, Jan 26, 2009 at 11:50 AM, Kutbuddin <ksdoctor at burnham.org> wrote:
>
> Hi,
>
> I would like to know how to set the TT variable :
> $Template::Directive::WHILE_MAX
>
> from within Catalyst.. maybe as part of the site View configuration in
> lib/MyApp/View/TT.pm
> or similar
>
> By default the maximum for a while loop is 1000.
>
> thanks..
> --
> View this message in context: http://www.nabble.com/Setting-Template-Tookit-WHILE_MAX-from-Catalyst-tp21672356p21672356.html
> Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
>


1) Edit lib/MyApp/View/TT.pm
2) Add: $Template::Directive::WHILE_MAX = $desired_value;
3) Profit.

-J



More information about the Catalyst mailing list