Re: [htmltmpl] Param() with a hashref

2008-04-29 Thread Mark Fuller
On Tue, Apr 29, 2008 at 8:05 AM, James Hardy <[EMAIL PROTECTED]> wrote: > It might be an idea to include that in the docs for people like me who are > still a little clueless about the many ways of doing the same thing in Perl. You can also annotate the POD on CPAN. I've found a lot of useful info

Re: [htmltmpl] Param() with a hashref

2008-04-29 Thread James Hardy
2008/4/29 Roger Burton West <[EMAIL PROTECTED]>: > On Tue, Apr 29, 2008 at 02:39:17PM +0100, James Hardy wrote: > >the example > >code for section 5 is the same as the example for section 4 after "# And > >with some TMPL_LOOPs:", and as such doesn't seem to use a hashref at all. > > It's not, you

Re: [htmltmpl] Param() with a hashref

2008-04-29 Thread Roger Burton West
On Tue, Apr 29, 2008 at 02:39:17PM +0100, James Hardy wrote: >the example >code for section 5 is the same as the example for section 4 after "# And >with some TMPL_LOOPs:", and as such doesn't seem to use a hashref at all. It's not, you know. $self->param(PARAM => 'value',

[htmltmpl] Param() with a hashref

2008-04-29 Thread James Hardy
Hi there, Looking at the documentation at http://search.cpan.org/~samtregar/HTML-Template-2.9/Template.pm#param() and at http://html-template.sourceforge.net/html_template.html#param() it is not clear how to use a hashref to set a number of parameters as the example code for section 5 is the same