Hello,
I'm trying to generate a tree structure with the help of HTML::Template,
but until now I couldn't think of any way to do it. I would like to get
something like the following 

|-topicone
|---oneone
|---onetwo
|-topictwo
|---twoone
|   |---twotwo
|-topicthree

...and so on
The datastructure so far is no proplem, but for a arbitrary tree you
need something like recursion, at least that's the way I do it. And
HTML::Template doesn't provide anything like that. The way to do a tree
with HTML::Template would be using <TMPL_LOOP>s, but I would have to
hardcode the deepest recursion level into the template, what isn't quite
the thing I want to do.
I there anybody who has an idea, how to do it with HTML::Template? I
don't want to learn yet another Template Engine. HTML::Template is so
great, it's so clean, no messy code in your templates, just the tmpl
tags.

Thanks in advance for your help

Benjamin

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/P dx s: a? C(+++) L++ P+++ N++ w PS+ PE-(++) Y+ PGP 
t+ 5- X R@ !tv b+++ DI(+) D+ G e++(+++) UF++ h-- r@ y?
------END GEEK CODE BLOCK------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to