|Welcome to the Monastery|
Re: DVD Profiler...by DigitalKitty (Parson)
|on Jan 12, 2005 at 04:59 UTC ( #421508=note: print w/replies, xml )||Need Help??|
Storing your DVD information in an XML file would be perfectly fine but if you were / are considering another avenue of exploration, I would suggest a hash of hashes ( HoH ).
Since perl permits 'autovivication', creating new key / value pairs is exceptionally easy. Should my idea of using a HoH not appeal to you, I don't see where using your current solution could be deemed a hindrance. If your project required storing a large quantity of data, you might consider using an RDBMS (Relational Database Management System) such as PostgreSQL or MySQL (either of which has distinct advantages and disadvantages). I don't have any experience using postgresql (yet) but I can recommend a good book for learning MySQL:
as well as a useful site for related tutorials:
Hope this helps,
In Section Seekers of Perl Wisdom