Information.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 33 CC 2 SCAR 11.0
CC
2
Cov
0%
lookup_language
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
1 # Copyright (c) 2026 Philipp Schafft
2  
3 # licensed under Artistic License 2.0 (see LICENSE file)
4  
5 # ABSTRACT: module to provide information on languages and language specific properties
6  
7  
8 package Lingua::Generic::Information;
9  
10 use v5.20;
11 use strict;
12 use warnings;
13  
14 use Carp;
15 use Data::Identifier v0.36;
16 use Lingua::Generic::Information::Language;
17  
18 our $VERSION = v0.01;
19  
20  
21 sub lookup_language {
22 my ($pkg, $idtype, $id, @opts) = @_;
23  
24 croak 'Stray options passed' if scalar @opts;
25  
26 return Lingua::Generic::Information::Language->_find($idtype, $id);
27 }
28  
29  
30 # ---- Private helpers ----
31  
32 1;
33  
34 __END__