Changes for version 0.1.8 - 2009-01-19

  • Optimization/Refactoring: replaced the last call to ->_father with a call to _current_father(). Removed ->_father and optimized _current_father() .
  • Optimization/Refactoring: refactored _become_default() to remove the execessive use of $father and $father->idx(). Now ->idx() is no longer needed and will be removed next.
  • Optimization/Refactoring: removed the ->idx() method as it was no longer used and needed.
  • Optimization: instead of calling File::Find::Object::Result->new() just bless to it.
  • Optimization: now caching the filesystem device at the top for nocrossfs().
    • Plus: rearranged the order of the checks in _non_top__check_subdir_helper
  • Optimization/Refactoring: made the _top_it method names saner, and removed an unused one.
  • Refactoring: refactored _check_subdir_helper_d() to make the conditions clearer.
  • Optimization: now compiling the _check_subdir_helper function by eval ""'ing it because it contains many conditions that depend on instance-wide and constant parameters.
  • Cleanup: moved some POD'ed out functions to under rejects/ .
  • Optimization: renamed _calc_next_obj() to next_obj(), as next_obj() just called it directly. Cleaned up the rest of the logic in next_obj().
  • Bug fix: the nocrossfs option was fixed. Previously it used an undefined method.

Modules

An object oriented File::Find replacement
base class for File::Find::Object
base class for File::Find::Object's Path Components
a result class for File::Find::Object

Provides

in lib/File/Find/Object.pm
in lib/File/Find/Object.pm

Examples