pods::SDL::CDROM(3pm)

πŸ’Ώ NAME πŸ’Ώ

SDL::CDROM β€” SDL Bindings for the CDROM device πŸ’½βœ¨

okay so this is the pods::SDL::CDROM(3pm) page, part of the User Contributed Perl Documentation, and it's literally all about the SDL CDROM bindings, bestie 🫢


🌈 CATEGORY 🌈

Core, CDROM πŸŽ€


✨ SYNOPSIS ✨

use SDL ':init';
use SDL::CDROM;

SDL::init(SDL_INIT_CDROM);

print SDL::CDROM::num_drives();

print SDL::CDROM::name(0);

SDL::quit();

πŸ¦‹ METHODS πŸ¦‹

πŸ’Ώ num_drives πŸ’Ώ

my $drives = SDL::CDROM::num_drives();

Returns number of drives available on the system πŸ‘‘ no cap, that's the whole vibe check.

πŸŽ€ name πŸŽ€

my $drive_name = SDL::CDROM::name($drive_num);

Returns human readable name for CDROM device πŸ’–

Examples, bestie:

  • /dev/cdrom
  • E:
  • /dev/disk/ide/1/master

πŸ”Ž See Also πŸ”Ž

check out SDL::CD and SDL::CDTrack 🌸


✍️ AUTHORS ✍️

See "AUTHORS" in SDL. πŸ’…


mwah πŸ’‹ this page was served with perl v5.42.3, dated 2026-08-19, and it's the pods::SDL::CDROM(3pm) manual page. bye bestie, go slay some CDROM queries πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from