Subject: | Removing dependency on File::Finder |
I could not install Test::Fixme because the dependency of File::Finder.
As seen at http://matrix.cpantesters.org/?dist=File-Finder+0.53 this is
not unique and File::Finder has not been updated for four years.
I have rewritten my copy of Test::Fixme to use the core module
File::Find instead. I have attached the diff outputs if you want to use
the same solution. All tests pass on my Strawberry Perl 5.10.0.
Regards,
Johan Lodin
Subject: | Makefile.PL.diff |
12c12
< 'File::Finder' => 0,
---
> 'File::Find' => 0,
Subject: | Fixme.pm.diff |
7c7
< use File::Finder;
---
> use File::Find 'find';
134d133
< my @files = ();
137d135
<
140d137
< push @files, File::Finder->type('f')->in($path);
143c140,151
< # Find files using File::Finder.
---
> my @files;
> find(
> {
> wanted => sub {
> push @files, $File::Find::name
> if -f $File::Find::name;
> },
> no_chdir => 1,
> },
> @paths
> );
>
Subject: | Changes.diff |
2a3,5
> 0.04_01 2009-10-10 (LODIN)
> - Replaced File::Finder with File::Find.
>