in reply to storing records of data structure in perl?
One word: DBD::SQLite
Okay, this presumes you know about DBI and SQL, but hey, you know about the monestary so you aren't clueless. :)