From: Kartik Thakore Date: Sat, 12 Sep 2009 19:13:22 +0000 (-0400) Subject: Made rect.pm strict X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a1b835c168ec184abc01edbc01862ffa15624c26;p=sdlgit%2FSDL_perl.git Made rect.pm strict --- diff --git a/lib/SDL/Rect.pm b/lib/SDL/Rect.pm index d8aedf5..6c91762 100644 --- a/lib/SDL/Rect.pm +++ b/lib/SDL/Rect.pm @@ -1,21 +1,20 @@ +=pod +=cut package SDL::Rect; -#use strict; - - +use strict; +use warnings; require Exporter; require DynaLoader; -@ISA = qw(Exporter DynaLoader); +our @ISA = qw(Exporter DynaLoader); # Items to export into callers namespace by default. Note: do not export # names by default without a very good reason. Use EXPORT_OK instead. # Do not simply export all your public functions/methods/constants. -@EXPORT = qw( - -); -#$VERSION = '0.01'; - bootstrap SDL::Rect; +=head1 Perl binding to C stuct Rect +=cut + # Preloaded methods go here. # TODO: mangle with the symbol table to create an alias