|
|
| XP is just a number | |
| PerlMonks |
Re: Re: Storableby TheoPetersen (Priest) |
| on Feb 23, 2001 at 14:10 UTC ( [id://60487]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
An excellent technique which will find its way to my code
very soon :) My variation was to have a human-readable config file, but keep the actual data in a hash written out by Storable. At startup the program checked the dates of the two files and re-parsed the config file if needed. I hadn't thought of using it to maintain user state though, nice job.
In Section
Module Reviews
|
|
||||||||||||||||||||||||||||||