Re: [htmltmpl] Numeric loops
Brought to you by:
samtregar
From: Karen <kar...@gm...> - 2007-04-30 02:12:08
|
On 4/29/07, Dan Horne <dan...@re...> wrote: > Well, I'm not "so" concerned (which to me implies some kind of fervour > that I don't think I stated). I was simply asking if there was a way to > iterate through integer values that I couldn't see in the POD - simple > so the designers could decide what to do with the integer - either > iterate from 1 to it, or print it out. Doing it in Perl tends to pre- > suppose one solution over the other. The designers don't really have > problems with loops - they've used H:T and TT, but I don't think they > want to learn Javascript. Plus, even if you use JS you haven't solved the problem for the people who don't use JS. (Of which I'm sometimes one.) If you do give them a loop, they can at least decide whether to iterate it fully, or to use only the "__last__" value and print it. So there's that. (Not bad for a four- or five-star scale, though it tends to break down in my case, where I've got threads that nest out to a couple hundred levels... there's just no simple solution there.) |