Constants exported by default now (again)
[sdlgit/SDL-Site.git] / pages / SDL-CD.html-inc
index fbcb7b5..370e1e1 100644 (file)
@@ -40,7 +40,7 @@
 </div>
 <h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p>
 <div id="SYNOPSIS_CONTENT">
-<pre> use SDL ':init';
+<pre> use SDL;
  use SDL::CDROM;
  use SDL::CD;
 
 </div>
 <h1 id="CONSTANTS">CONSTANTS</h1><p><a href="#TOP" class="toplink">Top</a></p>
 <div id="CONSTANTS_CONTENT">
-<p>The constants are not exported by default. You can export them into your namespace by doing:</p>
-<pre> use SDL::CD ':all';
+<p>The constants are exported by default. You can avoid this by doing:</p>
+<pre> use SDL::CD ();
 
 </pre>
-<p>or access them directly:</p>
+<p>and access them directly:</p>
 <pre> SDL::CD::CD_TRAYEMPTY;
 
 </pre>