File::Find::Rule::ConflictMarker - Conflict markers finder
use File::Find::Rule::ConflictMarker; my @files = File::Find::Rule->conflict_marker->relative->in($dir);
It might be helpful as xt/no_conflict.t
use Test::More; eval "use File::Find::Rule::ConflictMarker;"; plan skip_all => "skip the no conflict test because $@" if $@; my @files = File::Find::Rule->name('*.pm', '*.t')->conflict_marker->in('lib', 't', 'xt'); ok( scalar(@files) == 0 ) or die join("\t", map { "'$_' has conflict markers." } @files); done_testing;
File::Find::Rule::ConflictMarker searches for the conflict markers <<<<<<<, >>>>>>>, ||||||| in files.
<<<<<<<
>>>>>>>
|||||||
File::Find::Rule::ConflictMarker is hosted on github: http://github.com/bayashi/File-Find-Rule-ConflictMarker
I appreciate any feedback :D
Dai Okabayashi <bayashi@cpan.org>
File::Find::Rule
File::Find::Rule::ConflictMarker is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. (Note that, unlike the Artistic License 1.0, version 2.0 is GPL compatible by itself, hence there is no benefit to having an Artistic 2.0 / GPL disjunction.) See the file LICENSE for details.
File::Find::Rule::ConflictMarker
To install File::Find::Rule::ConflictMarker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Find::Rule::ConflictMarker
CPAN shell
perl -MCPAN -e shell install File::Find::Rule::ConflictMarker
For more information on module installation, please visit the detailed CPAN module installation guide.