File::Finder 0.03 - now with File::Find::Rule compatibility

merlyn on 2003-12-20T00:43:03

Last night, I figured out how to assimilate^Wincorporate File::Find::Rule's objects directly into File::Finder. Version 0.03 is flooding out to the CPAN mirrors right now, and contains the ffr step. Here's the example from the manpage:

  require File::Finder;
  require File::Find::Rule;
  require File::Find::Rule::ImageSize;
  my $ffr = File::Find::Rule->file
    ->image_x('>1000')->image_y('>1000');
  my @big_friends = File::Finder->ffr($ffr)
    ->in("/Users/merlyn/Pictures/Sorted/Friends");