updated docs and path to my repo
[sdlgit/SDL-Site.git] / pages / SDL-Sound.html-inc
index 2f8dd88..1886d9e 100644 (file)
@@ -31,7 +31,7 @@
 <p><a href="SDL-Sound.html">SDL::Sound</a> is a module for loading WAV files for sound effects.
 The file can be loaded by creating a new <a href="SDL-Sound.html">SDL::Sound</a> object by
 passing the filename to the constructor;</p>
-<pre>  my $sound = new SDL::Sound 'my_sfx.wav';
+<pre>  my $sound = SDL::Sound-&gt;new( 'my_sfx.wav' );
 
 </pre>