in reply to Can I auto-save and restore global variables?
You could tie a variable to a class that writes to and reads from some persistent storage. Storable might facilitate serializing to your persistent storage, for example. Just don't expect to see impressive throughput. If you dont need to save to persistent storage local is probably an adequate solution. We really would need to know the use case.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can I auto-save and restore global variables?
by kennethk (Abbot) on Jul 25, 2014 at 03:18 UTC | |
|
Re^2: Can I auto-save and restore global variables?
by davehorsfall (Novice) on Jul 25, 2014 at 05:34 UTC | |
by Anonymous Monk on Jul 25, 2014 at 07:16 UTC | |
by davehorsfall (Novice) on Jul 26, 2014 at 07:19 UTC |