DOKK / manpages / debian 10 / license-reconcile / Debian::LicenseReconcile::CopyrightTarget.3pm.en
Debian::LicenseReconcile::CopyrightTarget(3pm) User Contributed Perl Documentation Debian::LicenseReconcile::CopyrightTarget(3pm)

Debian::LicenseReconcile::CopyrightTarget - file patterns mapped to Debian copyright

Version 0.16

    use Debian::LicenseReconcile::CopyrightTarget;
    my $copyright_target = Debian::LicenseReconcile::CopyrightTarget->new;
    $copyright_target->parse($text);

This constructor returns an empty copyright target object.

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.

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.

Returns the file to License and Copyright mapping.

Nicholas Bamber, "<nicholas at periapt.co.uk>"

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.

2018-11-04 perl v5.28.0