
SDL::Cdrom - a SDL perl extension for managing CD-ROM drives

use SDL::Cdrom;
$cdrom = SDL::Cdrom->new(0);
$cdrom->play();

CD_NUM_DRIVES.
Create a new SDL::Cdrom object. The passed $id is the number of the drive, whereas 0 is the first drive etc.
use SDL::Cdrom;
my $drive => SDL::Cdrom->new($id);

Returns the number of CD-ROM drives present.
Returns the system dependent name of the CD-ROM device.
Return the status of the drive.
Play a track.
Pause the playing.
Resume the playing.
Stop the playing.
Eject the medium in the drive.
Return the ID of the drive.
Return the number of tracks on the medium.
Returns the track description
Return the current played track number.
Return the current frame.

David J. Goehrig Documentation by Tels <http://bloodgate.com/>.
