See also thread opening the cd rom.
In reply to Re: How to umount and eject cdrom on MacOSX from Perl? by ambrus in thread How to umount and eject cdrom on MacOSX from Perl? by Anonymous Monk