more useful options | |
PerlMonks |
Re: Re: Storableby TheoPetersen (Priest) |
on Feb 23, 2001 at 19:10 UTC ( [id://60487]=note: print w/replies, xml ) | Need Help?? |
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
|
|