Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: HTML::Template, pseudo trees and indention.

by BrowserUk (Patriarch)
on Jan 10, 2006 at 09:58 UTC ( [id://522130]=note: print w/replies, xml ) Need Help??


in reply to HTML::Template, pseudo trees and indention.

This is one of those occasions when the markup & presentation logic is intimately intertwined with the content no matter how hard you try to separate them.

Rather than trying to put complex logic within the template and it's highly restrictive mini-language, better to simply produce the html representing the tree as a string, using the full power of Perl, and the pass it into the template for incorporation with the rest of the page elements.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://522130]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-19 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found