Let's back up to this: "store my data to disk rather than memory". OK, so let's say that you do successfully store your data to disk. Now what? I mean, how do you use it in your program? You have to read it back into memory. Now you have a new problem -- which parts to pull from the file into memory and which parts to move from memory into the file. Tie::Cache::LRU might make this task easier, however.
Sounds to me like you are trying to do too much. Try filtering the results down, or use some sort of pagination scheme to only deal with a small window of the entire set, instead of the entire set. As far as storing "objects" ... look into Serialization: Freeze::Thaw and YAML come to mind.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re^3: Should I be using tie for this? Should I be using tie for this?
by jeffa
in thread Should I be using tie for this?
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |