WordList/EN/PersonName/PopularBabyName/GB_EAW/ONS/2000/Girl.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« WordList/EN/PersonName/PopularBabyName/GB_EAW/ONS/2000/Boy.pm ↑ Summary WordList/EN/PersonName/PopularBabyName/GB_EAW/ONS/2010/Boy.pm »
1 package WordList::EN::PersonName::PopularBabyName::GB_EAW::ONS::2000::Girl;
2  
3 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
4 1 our $DATE = '2020-05-22'; # DATE
5 1 our $DIST = 'WordLists-EN-PersonName-PopularBabyName-GB_EAW-ONS'; # DIST
6 1 our $VERSION = '0.002'; # VERSION
7  
8 1 ▶use WordList;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 our @ISA = qw(WordList);
10  
11 1 our $SORT = 'rank';
12  
13 1 our %STATS = ("num_words_contain_unicode",0,"num_words_contains_unicode",0,"num_words_contains_nonword_chars",264,"num_words_contain_whitespace",0,"avg_word_len",6.21012805587893,"shortest_word_len",2,"longest_word_len",15,"num_words_contains_whitespace",0,"num_words",5154,"num_words_contain_nonword_chars",264); # STATS
14  
15 1 1;
16 # ABSTRACT: Most popular names for baby girls born in England and Wales in 2000 (from Office for National Statistics)
17  
18 =pod
19  
20 =encoding UTF-8
21  
22 =head1 NAME
23  
24 WordList::EN::PersonName::PopularBabyName::GB_EAW::ONS::2000::Girl - Most popular names for baby girls born in England and Wales in 2000 (from Office for National Statistics)
25  
26 =head1 VERSION
27  
28 This document describes version 0.002 of WordList::EN::PersonName::PopularBabyName::GB_EAW::ONS::2000::Girl (from Perl distribution WordLists-EN-PersonName-PopularBabyName-GB_EAW-ONS), released on 2020-05-22.
29  
30 =head1 SYNOPSIS
31  
32 use WordList::EN::PersonName::PopularBabyName::GB_EAW::ONS::2000::Girl;
33  
34 my $wl = WordList::EN::PersonName::PopularBabyName::GB_EAW::ONS::2000::Girl->new;
35  
36 # Pick a (or several) random word(s) from the list
37 my $word = $wl->pick;
38 my @words = $wl->pick(3);
39  
40 # Check if a word exists in the list
41 if ($wl->word_exists('foo')) { ... }
42  
43 # Call a callback for each word
44 $wl->each_word(sub { my $word = shift; ... });
45  
46 # Iterate
47 my $first_word = $wl->first_word;
48 while (defined(my $word = $wl->next_word)) { ... }
49  
50 # Get all the words
51 my @all_words = $wl->all_words;
52  
53 =head1 DESCRIPTION
54  
55 Taken from L<https://www.ons.gov.uk/>
56  
57 Sorted by rank (most popular first).
58  
59 =head1 STATISTICS
60  
61 +----------------------------------+------------------+
62 | key | value |
63 +----------------------------------+------------------+
64 | avg_word_len | 6.21012805587893 |
65 | longest_word_len | 15 |
66 | num_words | 5154 |
67 | num_words_contain_nonword_chars | 264 |
68 | num_words_contain_unicode | 0 |
69 | num_words_contain_whitespace | 0 |
70 | num_words_contains_nonword_chars | 264 |
71 | num_words_contains_unicode | 0 |
72 | num_words_contains_whitespace | 0 |
73 | shortest_word_len | 2 |
74 +----------------------------------+------------------+
75  
76 The statistics is available in the C<%STATS> package variable.
77  
78 =head1 HOMEPAGE
79  
80 Please visit the project's homepage at L<https://metacpan.org/release/WordLists-EN-PersonName-PopularBabyName-GB_EAW-ONS>.
81  
82 =head1 SOURCE
83  
84 Source repository is at L<https://github.com/perlancar/perl-WordLists-EN-PersonName-PopularBabyName-GB_EAW-ONS>.
85  
86 =head1 BUGS
87  
88 Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=WordLists-EN-PersonName-PopularBabyName-GB_EAW-ONS>
89  
90 When submitting a bug or request, please include a test-file or a
91 patch to an existing test-file that illustrates the bug or desired
92 feature.
93  
94 =head1 AUTHOR
95  
96 perlancar <perlancar@cpan.org>
97  
98 =head1 COPYRIGHT AND LICENSE
99  
100 This software is copyright (c) 2020 by perlancar@cpan.org.
101  
102 This is free software; you can redistribute it and/or modify it under
103 the same terms as the Perl 5 programming language system itself.
104  
105 =cut
106  
107 __DATA__
« WordList/EN/PersonName/PopularBabyName/GB_EAW/ONS/2000/Boy.pm ↑ Summary WordList/EN/PersonName/PopularBabyName/GB_EAW/ONS/2010/Boy.pm »