spditner has asked for the wisdom of the Perl Monks concerning the following question:
In the context of rendering a directory tree in HTML, where the data structure is an array of hashes containing keys "name" (string) and "depth" (integer)...
Is there some way to get HTML::Template to repeat a character N times, say , without resorting to HTML::Template::Expr?
(I did have a nested data structure before, but from tinkering and other postings I've read, I don't believe that HTML::Template allows for recursion.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can you repeat a character N times using HTML::Template?
by barrd (Canon) on Nov 01, 2003 at 12:20 UTC | |
|
Re: can you repeat a character N times using HTML::Template?
by BUU (Prior) on Nov 01, 2003 at 12:23 UTC | |
|
Re: can you repeat a character N times using HTML::Template?
by Zaxo (Archbishop) on Nov 01, 2003 at 07:21 UTC | |
|
Re: can you repeat a character N times using HTML::Template?
by cees (Curate) on Nov 01, 2003 at 23:03 UTC |