App::Licensecheck - functions for a simple license checker for source files
use App::Licensecheck; my $app = App::Licensecheck->new; $app->lines(0); # Speedup parsing - our file is not huge printf "License: %s\nCopyright: %s\n", $app->parse( 'some-file' );
This program is based on the script "licensecheck" from the KDE SDK, originally introduced by Stefan Westerfeld
Copyright © 2007, 2008 Adam D. Barratt Copyright © 2012 Francesco Poli Copyright © 2016-2020 Jonas Smedegaard Copyright © 2017-2020 Purism SPC
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.