You are most welcome. :)
Now, is there any real compelling reason to store this info
in an XML file? I really don't see one. In the past, i have
used XML as a storage medium, but that was for my ease, no one else was using my code.
If your users need to be able to change the data, then i
think you are in for a minor headache if you choose XML.
I highly recommend you use an relational database instead.
Why not start with DBD::SQLite? It takes care of
concurrency issues for, you have to write the code to do
that yourself if you use a text file. Also, by using
SQLite (or mysql, or Postgres, etc.), you can always convert
your data to XML with tools like
Of course, if you don't already know SQL, you will have to
spend some time learning it ... but it is time well spent,
SQL can take you a looong way. ;) Good luck!
(the triplet paradiddle with high-hat)