Hi folks,
I've done quite a bit of digging on here, CPAN, ActiveState, and in general on the web. I'm having difficulty finding anyone who is successfully using Perl on a Win32 system to grab information from a CD in their CD-ROM drive, and convert it into a CDDB protocol 'ID' string. There's a CDDB.pm module which can do all of the snagging and parsing after you've gotten an ID, and there's even a module called CDDB_get which will grab the table-of-contents, and create a CDDB ID, but while Activestate mentions that the module supports Windows, I cannot get it to do so. It's possibly that I'm missing something with the 'CD_DEVICE' part of the config in this, but I can't for the life of me figure out what the Win32 equiv of /dev/cdrom might be, other than 'x:/'.

I'm at a complete loss now, and am not up to the task of hacking into whatever internal hubbub is involved in doing low-level system calls to devices on a PC - or whatever tomfoolery is involved in developing Win32 support for CDDB_get =)
Any info, kicks in the right direction, or success stories would be a great help.

-=rev=-

In reply to CDDB/id on Win32 by Reverend Phil

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.