Anonymous avatar Anonymous committed 10b6656

Adapted the README to File-Find-Object-Rule.

Comments (0)

Files changed (1)

File-Find-Object-Rule/README

-README for File::Find::Rule 0.30
+README for File::Find::Object::Rule
 
 =head1 NAME
 
-File::Find::Rule - Alternative interface to File::Find
+File::Find::Object::Rule - Alternative interface to File::Find::Object
 
 =head1 SYNOPSIS
 
-  use File::Find::Rule;
+  use File::Find::Object::Rule;
   # find all the subdirectories of a given directory
-  my @subdirs = File::Find::Rule->directory->in( $directory );
+  my @subdirs = File::Find::Object::Rule->directory->in( $directory );
 
   # find all the .pm files in @INC
-  my @files = File::Find::Rule->file()
+  my @files = File::Find::Object::Rule->file()
                               ->name( '*.pm' )
                               ->in( @INC );
 
   # as above, but without method chaining
-  my $rule =  File::Find::Rule->new;
+  my $rule =  File::Find::Object::Rule->new;
   $rule->file;
   $rule->name( '*.pm' );
   my @files = $rule->in( @INC );
 This module has external dependencies on the following modules:
 
  Cwd
- File::Find
+ File::Find::Object
  File::Spec
  Number::Compare
  Test::More
 
  perl Build install
 
-=head1 HISTORY
+=head1 AUTHOR
 
-What changed over the last 3 revisions
-
-=over
-
-=item 0.30 Wednesday 1st June, 2006
-
-	Made './//././././///.//././/////./blah' be treated the same 
-        as './blah' (it gets turned into 'blah')
-
-
-=item 0.29 Tuesday 16th May, 2006
-
-	Kludged around {min,max}depth and trailing slashes in path
-	names.
-
-
-=item 0.28 Tuesday 18th May, 2004
-
-	exposed %X_tests and @stat_tests as package variables, and make a
-	_call_find method for File::Find::Rule::Filesys::Virtual
-
-=back
-
-=head1 AUTHOR
+=head2 File::Find::Rule
 
 Richard Clamp <richardc@unixbeard.net> with input gained from this
 use.perl discussion: http://use.perl.org/~richardc/journal/6467
 Additional proofreading and input provided by Kake, Greg McCarroll,
 and Andy Lester andy@petdance.com.
 
+=head2 File::Find::Object::Rule
+
+Shlomi Fish converted the code to use L<File::Find::Object> instead. All
+copyrights disclaimed.
+
 =head1 COPYRIGHT
 
 Copyright (C) 2002, 2003, 2004, 2006 Richard Clamp.  All Rights Reserved.
 
 =head1 SEE ALSO
 
-L<File::Find>, L<Text::Glob>, L<Number::Compare>, find(1)
+L<File::Find::Object>, L<Text::Glob>, L<Number::Compare>, 
+L<File::Find::Object::Rule>, find(1)
 
 If you want to know about the procedural interface, see
-L<File::Find::Rule::Procedural>, and if you have an idea for a neat
-extension L<File::Find::Rule::Extending>
+L<File::Find::Object::Rule::Procedural>, and if you have an idea for a neat
+extension L<File::Find::Object::Rule::Extending>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.