X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSDL%2FTutorial.pm;h=1945c5fbff96c639687f4a0693716f6387dbed37;hb=15a6855a1873836b12bf4f67f0cb600bd4209b6f;hp=6d151f743b9dd1518d63061614f37867b860808f;hpb=bfd90409c307d445ed6fec5cce6344b1e3d1be05;p=sdlgit%2FSDL_perl.git diff --git a/lib/SDL/Tutorial.pm b/lib/SDL/Tutorial.pm index 6d151f7..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; @@ -47,7 +49,6 @@ my $app = SDL::App->new( # your code here; remove the next line sleep 2; -END_HERE 1; @@ -63,7 +64,7 @@ SDL::Tutorial - introduction to Perl SDL $ perldoc SDL::Tutorial # to create a bare-bones SDL app based on this tutorial - $ perl -MSDL::Tutorial=basic_app.pl -e 1 + $ perl -MSDL::Tutorial -e 1 =head1 SDL BASICS