in reply to "stale data": mysql, ima-dbi, modperl, mason

<guessing mode="on">

Could it be that the combination of Mason and mod_perl make your <%init> sections run only the first time they are used (and thereafter are "cached" by mod_perl)?

<guessing mode="off">

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re: Re: "stale data": mysql, ima-dbi, modperl, mason
by simonm (Vicar) on Dec 27, 2003 at 06:43 UTC
    Could it be that the combination of Mason and mod_perl make your <%init> sections run only the first time they are used (and thereafter are "cached" by mod_perl)?

    Nope. From HTML::Mason::Devel: This section contains initialization code that executes as soon as the component is called... Technically an <%init> block is equivalent to a <%perl> block at the beginning of the component.