Commits

Anonymous committed 2568205

->_dir() instead of _dir_copy().

Comments (0)

Files changed (2)

     - A small optimization - got rid of _current_components_copy() (which
     was useless because _current_components already returns a dynamic
     reference) and replaced all calls with calls to _current_components().
+    - A small optimization - ->dir() instead of ->_dir_copy() for 
+    a function whose return value is dereferenced and flatted.
 
 0.1.5 - Sat Jan  3 17:17:31 IST 2009
     - Unified the two calls to stat() (and several calls to other file

lib/File/Find/Object.pm

 {
     my $self = shift;
 
-    return $self->_current_father->_dir_copy();
+    return $self->_current_father->_dir();
 }
 
 sub _open_dir {