No such thing as a small change | |
PerlMonks |
Re: Variable will not stay shared in a sporadically crashing CGI (updated)by LanX (Saint) |
on Oct 02, 2017 at 12:58 UTC ( [id://1200520]=note: print w/replies, xml ) | Need Help?? |
"Won't stay shared" is the typical warning when "closures are redefined inside a sub"* and is related to mod-perl. Keep in mind that mod-perl should make your code persistent and weird side effects are possible if the code is (not) recompiled. Please habe a closer look into mod-perl tutorials and how to avoid pitfalls.
updateEg see http://perl.apache.org/docs/1.0/guide/porting.html#Global_Variables_Persistence
Cheers Rolf
*) roughly speaking, dunno how to phrase it better... for details see replies to
In Section
Seekers of Perl Wisdom
|
|