X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-CDTrack.html-inc;h=e33fcb79deffa0ea4ca61cd546db4c6e8125e439;hb=807ae0cdf3bf7e415bbb01449976c9ab91209cbb;hp=22001e835d5d8ac4ddcf23659bec7b087ca63424;hpb=d0dca2000e72d938a89961edc199154d64d92cbc;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-CDTrack.html-inc b/pages/SDL-CDTrack.html-inc index 22001e8..e33fcb7 100644 --- a/pages/SDL-CDTrack.html-inc +++ b/pages/SDL-CDTrack.html-inc @@ -30,7 +30,7 @@
use SDL ':init'; +use SDL; use SDL::CDROM; use SDL::CD ':status'; use SDL::CDTrack; @@ -57,11 +57,11 @@
The constants are not exported by default. You can export them into your namespace by doing:
-use SDL::CDTrack ':all'; +The constants are exported by default. You can avoid this by doing:
+use SDL::CDTrack ();-or access them directly:
+and access them directly:
SDL::CDTrack::SDL_AUDIO_TRACK;