File Coverage

blib/lib/Crypt/Diceware/Wordlist/NL.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 17 17 100.0


line stmt bran cond sub pod time code
1             # -*- cperl; cperl-indent-level: 4 -*-
2             # Copyright (C) 2025, Roland van Ipenburg
3             package Crypt::Diceware::Wordlist::NL v0.0.1;
4              
5             #use Log::Log4perl qw(:resurrect :easy get_logger);
6              
7 2     2   198515 use strict;
  2         9  
  2         87  
8 2     2   7 use warnings;
  2         2  
  2         79  
9 2     2   8 use utf8;
  2         3  
  2         10  
10 2     2   77 use 5.016000;
  2         6  
11              
12             ## no critic (ProhibitCommentedOutCode)
13             ###l4p Log::Log4perl->easy_init($ERROR);
14             ###l4p my $log = get_logger();
15             ## use critic
16              
17 2     2   313 BEGIN { our $VERSION = q{v0.0.1}; }
18             ## no critic (ProhibitPackageVars Capitalization)
19             our @Words = ();
20             ## use critic
21             while ( my $wordlist_line = ) {
22             if (
23             $wordlist_line =~ s{[1-6]{5}\s+(?[[:lower:]]+)}{$+{'word'}}gimsx )
24             {
25             push @Words, $wordlist_line;
26             }
27             }
28              
29             1;
30              
31             =begin stopwords
32              
33             Ipenburg
34              
35             =end stopwords
36              
37             =head1 NAME
38              
39             Crypt::Diceware::Wordlist::NL - dutch wordlist for Diceware
40              
41             =head1 VERSION
42              
43             This document describes Crypt::Diceware::Wordlist::NL C.
44              
45             =head1 SYNOPSIS
46              
47             use Crypt::Diceware::Wordlist::NL;
48              
49             =head1 DESCRIPTION
50              
51             =head1 SUBROUTINES/METHODS
52              
53             =head1 CONFIGURATION AND ENVIRONMENT
54              
55             None.
56              
57             =head1 DEPENDENCIES
58              
59             =over 4
60              
61             =item * Perl 5.16
62              
63             =item * L
64              
65             =back
66              
67             =head1 INCOMPATIBILITIES
68              
69              
70             =head1 DIAGNOSTICS
71              
72             This module uses L for logging when resurrected.
73              
74             =head1 BUGS AND LIMITATIONS
75              
76             Please report any bugs or feature requests at
77             L
78             https://bitbucket.org/rolandvanipenburg/crypt-diceware-wordlist-nl/issues>.
79              
80             =head1 AUTHOR
81              
82             Roland van Ipenburg, Eroland@rolandvanipenburg.comE
83              
84             =head1 LICENSE AND COPYRIGHT
85              
86             Copyright 2025 by Roland van Ipenburg
87             This program is free software; you can redistribute it and/or modify
88             it under the GNU General Public License v3.0.
89              
90             =head1 DISCLAIMER OF WARRANTY
91              
92             BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
93             FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
94             OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
95             PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
96             EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
97             WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
98             ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
99             YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
100             NECESSARY SERVICING, REPAIR, OR CORRECTION.
101              
102             IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
103             WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
104             REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE
105             LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
106             OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
107             THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
108             RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
109             FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
110             SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
111             SUCH DAMAGES.
112              
113             =cut
114              
115             __DATA__