X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=sdlgit%2FSDL-Site.git;a=blobdiff_plain;f=pages%2FSDL-CD.html-inc;h=370e1e13e039cf594c4f7778409a85288fcf8ef3;hp=fbcb7b543ab4e1924649c700a45cc7b84a69d1b5;hb=3549ee6a3a96e3e1834ff3373567ab631acd42cc;hpb=9b105a174c47bf270f320086452ef5d26c53fe35 diff --git a/pages/SDL-CD.html-inc b/pages/SDL-CD.html-inc index fbcb7b5..370e1e1 100644 --- a/pages/SDL-CD.html-inc +++ b/pages/SDL-CD.html-inc @@ -40,7 +40,7 @@
use SDL ':init'; +use SDL; use SDL::CDROM; use SDL::CD; @@ -64,11 +64,11 @@
The constants are not exported by default. You can export them into your namespace by doing:
-use SDL::CD ':all'; +The constants are exported by default. You can avoid this by doing:
+use SDL::CD ();-or access them directly:
+and access them directly:
SDL::CD::CD_TRAYEMPTY;