Don't ask to ask, just ask | |
PerlMonks |
Re: best way to keep a simple count?by salva (Canon) |
on Apr 11, 2005 at 14:47 UTC ( [id://446631]=note: print w/replies, xml ) | Need Help?? |
use a Config::* module that allows writting:
You should also use some lock to ensure that only one process reads and increments the counter.
In Section
Seekers of Perl Wisdom
|
|