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

Debian::LicenseReconcile::Filter - abstract interface to license info

Version 0.16

    use Debian::LicenseReconcile::Filter;
    my $filter = Debian::LicenseReconcile::Filter->new(arg1=>"blah",...);
    my @info = $filter->get_info(@files);

This constructor takes key value pairs and returns the correspondingly blessed object.

Returns a list of hash references describing copyright and license information that should be checked against the copyright target.

Returns the search directory as set in the constructor.

Returns the files to be checked as set in the constructor.

Returns the Parse::DebianChangelog as set in the constructor.

Returns the config data as set in the constructor.

Returns the Debian::LicenseReconcile::LicenseCheck object as set in the constructor.

Returns the name set in the constructor.

This is a helper method designed to allow derived classes implement rules based semantics. It takes a file name and an array ref to a sequence of rules. Each rule is a hash ref, which may contain the following fields:

The first rule which matches the file is returned. If no rule matches then undef is returned.

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