On Fri, 8 Jul 2005, Jochen Cichon wrote: > Any Ideas? > > > It seems not to be a problem with the rand, it seems more to be a > problem when the expr is somehow different in the two runs. So why > is ist pared twice? (sometimes!)
I think it's because HTML::Template is evaluating the condition twice - once in the "TMPL_IF" and once in the "TMPL_ELSE". This usually works fine since most boolean conditions are stable but not for rand()! If you're interested in fixing this the relevent code is in HTML::Template::output(). I think this could be quite challenging to fix! -sam ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Html-template-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/html-template-users
