Re: problem: Not an ARRAY reference in Expr.pm

Marcin Gryszkalis <[email protected]> Fri, 1 Jun 2007 13:55:31 +0200
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On Friday of June 1 2007, you wrote:
> Did you ever resolve this?   After looking at the problem again, I
> suspect that some variable was being set/used incorrectly, ie: a scalar
> was being set on the param, but trying to be used in a loop -> or more
> specifically vice versa inside an EXPR...

Unfortunately - no, the only way to solve it is to turn off cache, I use 
following options:

my %default_options = (
    die_on_bad_params => 0,
    search_path_on_include => 1,
    loop_context_vars => 1,
    global_vars => 1,
    strict => 1,
    cache => 1,
);


after I set cache=>0 the errors don't show anymore (with cache on they show 
randomly, like once every 10-20 calls - with the same almost static (just 
several includes) page)...

Any help or directions how to debug this will be appreciated.
greetings
-- 
Marcin Gryszkalis, PGP 0x9F183FA3 
jabber jid:[email protected], gg:2532994
http://the.fork.pl

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/