Re: [htmltmpl] loop through a hash structure without knowing the hash keys?

2005-12-02 Thread Webmaster Techcode.NET
- Original Message - From: Boon Chew I want a way to quickly display all the info in a var - a Dumper output if you will. But more than that, like in some other server-side language, you can query the column lists (or hash keys) and loop through those and use a piece of generic code

Re: [htmltmpl] Writing an extension for HTML::Template - how to do it?

2005-11-08 Thread Webmaster Techcode.NET
 Wouldn't it be great if everyone was writing docs like you do? :)   I checked it out - it seems quite interesting. Will give it more thougth in the morning (it's 3AM ...).   Thanks.   Indeed, there are a number of solutions that can be implemented.  HTML::Template::Expr with a function

Re: [htmltmpl] Writing an extension for HTML::Template - how to do it?

2005-11-08 Thread Webmaster Techcode.NET
mode in it ...).     But all that would be similar like this:     I was hopping to avoid that ... and make it shorter/simpler as:   - Original Message - From: Dan Horne To: 'Webmaster Techcode.NET' ; html-template-users@lists.sourceforge.net Sent: Tuesday, November

[htmltmpl] Writing an extension for HTML::Template - how to do it?

2005-11-08 Thread Webmaster Techcode.NET
Hello folks!   Don't know if it's just me or documentation of HTML::Template::Extension isn't good. Eitherway, I can't figure out how to write an extenstion for it, that I need for my project.   I work with CGI::Application, and I wan't to be able to use (reusable) objects in my templates.