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

load_meta Input: filename or dir or CPAN::Meta object Output: CPAN::Meta object Loads either META.json (preferred) or META.yml

license_types

write_LICENSE

 Writes the LICENSE file
Input: 
Output: the specific license object

check_license_files Input: base directory Performs and outputs diagnostics

is_annotated Input: filename and message Output: True, if file is already annotated with this message; otherwise, false

find_authors Input: filename or CPAN::Meta object Output: all authors mentioned in CPAN::Meta. Returns 'unknown' if no authors found, or undef for other failures Authors are are non-repeating and never in "Last, First" format

find_license Input: directory or CPAN::Meta object Output: 1st author mentioned in CPAN::Meta. Returns undef on failure

is_license_type

license_text

Input: type of license (i.e. Perl_5), and name of copyright holder Output: the specific license object

check_LICENSE_file Input: base directory Performs and outputs diagnostics

check_META_file Input: base directory Output: Software::License:xxx object, or undef Performs and outputs diagnostics

NAME

Test::Legal::Util - Support module for Test::Legal

SYNOPSIS

  use Test::Legal::Util;

DESCRIPTION

EXPORT

None by default.

SEE ALSO

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.