Greetings, aakikce. I find myself a little impatient with this posting, not wanting to read through the whole thing so that I can help you. (Maybe I'm just cranky this morning, though.) You might want to add an Update: to the top of the question, summarizing exactly what you want to do, and perhaps tossing in a few comments that explain what you think your code is doing. Also, re-posting the same question several times is not the best way to get a response from the monastery. You might also want to check out How do I post a question effectively?.
It looks like you are trying to read in some XML and reformat it into something that looks more like HTML -- you might consider some of the templating modules like HTML::Template to accomplish this.
In reply to Re: Nested list - to reduce Codings
by ptum
in thread Nested list - to reduce Codings
by aakikce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |