more useful options | |
PerlMonks |
Re: best way to keep a simple count?by Anonymous Monk |
on Apr 11, 2005 at 12:03 UTC ( [id://446574]=note: print w/replies, xml ) | Need Help?? |
Been there, done that, did it in many ways. I've used a database, I've used locked files, I've used plain unlocked files open for read/write and used seek, and I've echoed new numbers to files.
What is "best" purely depends on what you want, and what your wishes are. All solutions are simple, requiring just a few lines of code.
In Section
Seekers of Perl Wisdom
|
|