1App::Licensecheck(3) User Contributed Perl Documentation App::Licensecheck(3)
2
3
4
6 App::Licensecheck - functions for a simple license checker for source
7 files
8
10 Version v3.1.1
11
13 use App::Licensecheck;
14
15 my $app = App::Licensecheck->new;
16
17 $app->lines(0); # Speedup parsing - our file is not huge
18
19 printf "License: %s\nCopyright: %s\n", $app->parse( 'some-file' );
20
22 App::Licensecheck is the core of licensecheck script to check for
23 licenses of source files. See the script for casual usage.
24
26 Jonas Smedegaard "<dr@jones.dk>"
27
29 This program is based on the script "licensecheck" from the KDE SDK,
30 originally introduced by Stefan Westerfeld "<stefan@space.twc.de>".
31
32 Copyright © 2007, 2008 Adam D. Barratt
33
34 Copyright © 2012 Francesco Poli
35
36 Copyright © 2016-2020 Jonas Smedegaard
37
38 Copyright © 2017-2020 Purism SPC
39
40 This program is free software: you can redistribute it and/or modify it
41 under the terms of the GNU Affero General Public License as published
42 by the Free Software Foundation, either version 3, or (at your option)
43 any later version.
44
45 This program is distributed in the hope that it will be useful, but
46 WITHOUT ANY WARRANTY; without even the implied warranty of
47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
48 Affero General Public License for more details.
49
50 You should have received a copy of the GNU Affero General Public
51 License along with this program. If not, see
52 <https://www.gnu.org/licenses/>.
53
54
55
56perl v5.32.1 2021-01-26 App::Licensecheck(3)