NAME¶
Debian::LicenseReconcile - compare actual and required copyright and license
VERSION¶
Version 0.5
SYNOPSIS¶
use Debian::LicenseReconcile;
my $reconcile = Debian::LicenseReconcile->new();
$reconcile->check($actual, $required);
SUBROUTINES/METHODS¶
new¶
A constructor with no flexibility needed.
check¶
This method takes two arguments, firstly a hash obtained from the source code
under inspection and the second from the copyright file. Currently only the
"license" field is checked. This field from the first hash must
exactly match the first line of the license field from the second.
AUTHOR¶
Nicholas Bamber, "<nicholas at periapt.co.uk>"
LICENSE AND COPYRIGHT¶
Copyright 2012 Nicholas Bamber "<nicholas at periapt.co.uk>".
This program is free software; you can redistribute it and/or modify it under
the terms of either: the GNU General Public License as published by the Free
Software Foundation; or the Artistic License.
See
http://dev.perl.org/licenses/ for more information.