Stas Bekman wrote:

 > So i was thinking to just give a variable which will return the
 > generation. So start_cnt() returns 1 when server starts, and 2 when it
 > immediately restarts.

Yes, but I'd call it generation or something like that.


Good idea.

I changed that, but then it was very confusing since it wasn't clear what generation it returns when taken out of the context of this discussion. So I ended up calling it:


  Apache::ServerUtil::restart_count

which is very intuitive IMHO.



--
__________________________________________________________________
Stas Bekman            JAm_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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to