Commits

Anonymous committed aaaab26

Added use integer to the modules.

Comments (0)

Files changed (5)

+    - Added use integer to the modules, because they don't make use
+    of floating-point calculation. It may be a minor optimization, but then
+    again it may be not.
+
 0.1.8 - Mon Jan 19 18:36:51 IST 2009
     - Optimization/Refactoring: replaced the last call to ->_father with a 
     call to _current_father(). Removed ->_father and optimized

lib/File/Find/Object.pm

 use strict;
 use warnings;
 
+use integer;
+
 use base 'File::Find::Object::PathComp';
 
 use File::Spec;

lib/File/Find/Object/Base.pm

 use strict;
 use warnings;
 
+use integer;
+
 # TODO :
 # _last_dir_scanned should be defined only for ::PathComp , but we should
 # add a regression test to test it.

lib/File/Find/Object/PathComp.pm

 use strict;
 use warnings;
 
+use integer;
+
 use base 'File::Find::Object::Base';
 
 use Class::XSAccessor

lib/File/Find/Object/Result.pm

 use strict;
 use warnings;
 
+use integer;
+
 use Class::XSAccessor
     accessors => {
         (map { $_ => $_ } (qw(