Debian::LicenseReconcile::CopyrightTarget3pm
File patterns mapped to debian copyright
Usage
use Debian::LicenseReconcile::CopyrightTarget;my $copyright_target = Debian::LicenseReconcile::CopyrightTarget->new;$copyright_target->parse($text);
Version
Version 0.16
Subroutines/methods
new
This constructor returns an empty copyright target object.
parse
This takes as an argument the copyright data. If the copyright data cannot be parsed by Debian::Copyright then the method returns undef and reports an error via Debian::LicenseReconcile::Errors.
map_directory
Takes a directory path and attempts to map the contents of that directory onto the copyright specification. It returns a hash reference containing that mapping.
patterns
Returns the file to License and Copyright mapping.
License and copyright
Copyright 2012, 2015, 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.
Releases
3 releases since Debian 8 (Jessie); the text changed 2 times.