NAME¶
Debian::LicenseReconcile::CopyrightTarget - file patterns mapped to Debian
copyright
VERSION¶
Version 0.5
SYNOPSIS¶
use Debian::LicenseReconcile::CopyrightTarget;
my $copyright_target = Debian::LicenseReconcile::CopyrightTarget->new;
$copyright_target->parse($text);
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.
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.