The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

File::Find::Rule::ConflictMarker - Conflict markers finder

SYNOPSIS

    use File::Find::Rule::ConflictMarker;

    my @files = File::Find::Rule->conflict_marker->relative->in($dir);

FOR TEST EXAMPLE

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;

DESCRIPTION

File::Find::Rule::ConflictMarker searches for the conflict markers <<<<<<<, >>>>>>>, ||||||| in files.

REPOSITORY

File::Find::Rule::ConflictMarker is hosted on github: http://github.com/bayashi/File-Find-Rule-ConflictMarker

I appreciate any feedback :D

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

File::Find::Rule

LICENSE

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.