Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: "stale data": mysql, ima-dbi, modperl, mason

by CountZero (Bishop)
on Dec 26, 2003 at 21:34 UTC ( [id://317127]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://317127]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found