---
name: "Ninka"
section: "3pm"
platform: "linux"
package: "ninka"
version: "1.3.2-4"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/Ninka"
---

# Ninka(3pm)

source file license identification tool

## NAME

Ninka - source file license identification tool

## SYNOPSIS

```
    use Ninka;
    my $input_file = 'some/path/file_of_interest';
    my $create_intermediary_files = 0;
    my $verbose = 0;
    my $license_result = Ninka::process_file($input_file, $create_intermediary_files, $verbose);
```

## DESCRIPTION

Scans a source file and returns the found licenses.

## COPYRIGHT AND LICENSE

Copyright (C) 2009-2014,2017  Yuki Manabe and Daniel M. German

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see \<http://www.gnu.org/licenses/\>.
