projects
/
sdlgit/SDL_perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e8ebd10
)
fix more tutorials
Gabor Szabo [Mon, 17 Aug 2009 09:39:36 +0000 (12:39 +0300)]
lib/SDL/Tutorial.pm
patch
|
blob
|
blame
|
history
lib/SDL/Tutorial/Drawing.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SDL/Tutorial.pm
b/lib/SDL/Tutorial.pm
index
d3b68c5
..
1945c5f
100644
(file)
--- a/
lib/SDL/Tutorial.pm
+++ b/
lib/SDL/Tutorial.pm
@@
-31,6
+31,8
@@
package SDL::Tutorial;
use strict;
+use warnings;
+
use SDL;
use SDL::App;
diff --git
a/lib/SDL/Tutorial/Drawing.pm
b/lib/SDL/Tutorial/Drawing.pm
index
c071306
..
4084bce
100644
(file)
--- a/
lib/SDL/Tutorial/Drawing.pm
+++ b/
lib/SDL/Tutorial/Drawing.pm
@@
-28,9
+28,11
@@
# dgoehrig@cpan.org
#
-package SDL::Tutorial:Drawing;
+package SDL::Tutorial::Drawing;
use strict;
+use warnings;
+
use SDL;
use SDL::App;
use SDL::Rect;
@@
-67,7
+69,6
@@
$app->update( $rect );
# your code here; remove the next line
sleep 2;
-END_HERE
1;
__END__