NAME

Test::Legal - Check for copyright notices in distribution files and for LICENSE file

SYNOPSIS

use Test::Legal;

copyright_ok;
legal_ok;

Or, here is the more refined way to acomplish the same thing
use Test::Legal  copyright_ok => { base=> $dir, dirs=> [qw/ sctipt lib /] } ,
                 legal_ok => { base=> $dir},
;

DESCRIPTION

Checks for copyright notices in .pl and .pm distribution files, for author entry in META.yml
or META.json, and for LICENSE file.

You can add the copyright notices manually of use the copyright-injection.pl tool, supplied
with this module, to add, to remove, or to check for notices automatically before tests.

FUNCTIONS

disable_test_builder

_values

set_of_files

annotate_dirs

deanntate_dirs

_build_license_ok

EXPORT

copyritht_ok;
legal_ok;

EXPORT_OK

    disable_test_builder 
	annotate_dirs 
    deannotate_dirs

SEE ALSO

copyright_injection.pl  ( provided with Test::Legal )

Test::Copyright

AUTHOR

Tambouras, Ioannis <ioannis@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Ioannis Tambouras

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.1 or, at your option, any later version of Perl 5 you may have available.