I plan to write a DVD Profiler in Perl, and was wondering. What would be the best way to store all my data. I was thinking of referencing the DVDs by their EAN (example EAN: 060049145457) and then from that, being able to grab the rest of the info. At first, I thought XML would be a good idea, but then I had second thoughts.. Now, I am back to square one, and unsure, so I seek your guidance! I have included below the original XML file I was going to work with, so give you an idea of the data I will be storing.

<dvd EAN="060049145457"> <title>Reservoir Dogs: Special Edition</title> <director>Quentin Tarantino</director> <year>1992</year> <region encoding="PAL">2</region> <aspect anamorphic="0" widescreen="1">16:9</aspect> <audio>Dolby Digital 5.1</audio> <length>94</length> <cert>18</cert> <rating>5</rating> </dvd>

That kinda thing. Also, any comments/suggestion about data being held on dvds, or my DVD Profiler in general are welcome with open arms!

Thanks for any help provided in advance.
Regards, Will.

In reply to DVD Profiler... by wrboyce

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.