From: Gabor Szabo Date: Mon, 17 Aug 2009 09:39:36 +0000 (+0300) Subject: fix more tutorials X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=02ddb292770149d67620ea59cae5bf199cce9cea;hp=e8ebd1022cd43639cec4ffe738b12da6e0b998a9;p=sdlgit%2FSDL_perl.git fix more tutorials --- diff --git a/lib/SDL/Tutorial.pm b/lib/SDL/Tutorial.pm index d3b68c5..1945c5f 100644 --- 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 --- 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__