SDL::CDROM -- SDL Bindings for the CDROM device
Core, CDROM
use SDL ':init'; use SDL::CDROM; SDL::init(SDL_INIT_CDROM); print SDL::CDROM::num_drives(); print SDL::CDROM::name(0); SDL::quit();
my $drives = SDL::CDROM::num_drives();
Returns number of drives available on the system
my $drive_name = SDL::CDROM::name($drive_num);
Returns human readable name for CDROM device
Examples:
'/dev/cdrom'
'E:'
'/dev/disk/ide/1/master'
SDL::CD, SDL::CDTrack
See "AUTHORS" in SDL.
To install SDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL
CPAN shell
perl -MCPAN -e shell install SDL
For more information on module installation, please visit the detailed CPAN module installation guide.