Re: [htmltmpl] problem: Not an ARRAY reference in Expr.pm

2007-05-02 Thread Mathew Robertson
Hi Marcin, Are you using a filter by any chance? If so, you could try temporarily disabling it and/or could you post a code snippet if its use. Mathew Marcin Gryszkalis wrote: > One in every few calls to my application ends with error desctribed below. > I'm not sure when it started or what s

Re: [htmltmpl] Cannot open included file test.tmpl

2007-05-02 Thread Karen
On 5/2/07, Alicia Amadoz <[EMAIL PROTECTED]> wrote: > I have read something about environment variables HTML_TEMPLATE_ROOT > and HTML_TEMPLATE_PATH but I am very confused with how they should be > defined. Could anyone help me to solve this error? You can set the environment variables within Perl

[htmltmpl] Cannot open included file test.tmpl

2007-05-02 Thread Alicia Amadoz
Hi, I'm new to HTML::Template and I have installed version 2.8-2 on fedora 5 with yumex. I have tried the example of the webpage at 'synopsis' section (with test.tmpl) and I have an error: [error] HTML::Template->new() : Cannot open included file test.tmpl : file not found. at /usr/lib/perl5/vend

[htmltmpl] problem: Not an ARRAY reference in Expr.pm

2007-05-02 Thread Marcin Gryszkalis
One in every few calls to my application ends with error desctribed below. I'm not sure when it started or what stared these errors. It doesn't depend on template, number of calls or something else, seems pretty random. Important: turning off cache seems to heal it. H::T version 2.9 H::T::Expr

Re: [htmltmpl] Numeric loops

2007-05-02 Thread Sven Neuhaus
Dan Horne wrote: > Is there a way to loop from a lower integer to an higher one? For example, > say an article has a rating of 4. I'd like to loop from 1 to 4 and print a > star at each iteration. The only way I can see of doing this is create an > array ref in the perl coder and pass that to the t