Re: Handler called second time acts up.

2003-05-30 Thread Stas Bekman
Ged Haywood wrote:
Hi there,

On Thu, 29 May 2003, Igor Rojdestvenski wrote:


designed a mod_perl handler moduel [snip]
works fine first time, but when I refresh it, it works differently. [snip]
My theory is that something is wrong with local/global variables [snip]


Check out the mod_perl Guide - you can find it on the mod_perl website,

http://perl.apache.org

The guide contains a wealth of information about this kind of thing.
See in particular the sections about mod_perl traps, debugging, and
Sometimes it works, sometimes it doesn't...
Just to save you the time searching, here is the link to what Ged has mentioned:
http://perl.apache.org/docs/1.0/guide/porting.html#Sometimes_it_Works__Sometimes_it_Doesn_t
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Handler called second time acts up.

2003-05-29 Thread Ged Haywood
Hi there,

On Thu, 29 May 2003, Igor Rojdestvenski wrote:

 designed a mod_perl handler moduel [snip]
 works fine first time, but when I refresh it, it works differently. [snip]
 My theory is that something is wrong with local/global variables [snip]

Check out the mod_perl Guide - you can find it on the mod_perl website,

http://perl.apache.org

The guide contains a wealth of information about this kind of thing.
See in particular the sections about mod_perl traps, debugging, and
Sometimes it works, sometimes it doesn't...

73,
Ged.