Query: sdl::cdrom
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pods::SDL::CDROM(3pm) User Contributed Perl Documentation pods::SDL::CDROM(3pm)NAMESDL::CDROM -- SDL Bindings for the CDROM deviceCATEGORYCore, CDROMSYNOPSISuse SDL ':init'; use SDL::CDROM; SDL::init(SDL_INIT_CDROM); print SDL::CDROM::num_drives(); print SDL::CDROM::name(0); SDL::quit();METHODSnum_drives my $drives = SDL::CDROM::num_drives(); Returns number of drives available on the system name my $drive_name = SDL::CDROM::name($drive_num); Returns human readable name for CDROM device Examples: o '/dev/cdrom' o 'E:' o '/dev/disk/ide/1/master' See Also SDL::CD, SDL::CDTrackAUTHORSSee "AUTHORS" in SDL. perl v5.14.2 2012-05-28 pods::SDL::CDROM(3pm)