
Tie::persistent makes working with persistent data real easy by using the tie interface. it works by storing data contained in a variable into a file (not unlike a database). the primary advantage is speed, as the whole datastructure is kept in memory (which is also a limitation), and, of course, that you can use arbitrary data structures inside the variable (unlike db_file). note that it is most useful if the data structure fits into memory.