On Tue, Jul 23, 2002 at 10:15:53AM -0500, Stathy G. Touloumis wrote:
> WHILE loop terminated (> 1000 iterations) called at /PATH/FILE.html.ttc 
> line 357
> 
> I just wanted to follow up to see if anyone has experience with this to be 
> sure that the 'loop' logic in the template is at fault.

Yes, it's supposed to do that, for good or bad.  From 
Template::Manual::Directives:

           The Template Toolkit uses a failsafe counter to pre-
           vent runaway WHILE loops which would otherwise never
           terminate.  If the loop exceeds 1000 iterations then
           an 'undef' exception will be thrown, reporting the
           error:

               WHILE loop terminated (> 1000 iterations)

           The $Template::Directive::WHILE_MAX variable controls
           this behaviour and can be set to a higher value if
           necessary.

HTH
A



Reply via email to