lib/IRC/Bot/Hangman/WordList/Default.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/IRC/Bot/Hangman/Response/Profanity.pm ↑ Summary lib/IRC/Bot/Hangman/WordList/TooEasy.pm »
1 =head1 NAME
2
3 IRC::Bot::Hangman::WordList::Default - Default word list
4
5 =head1 SYNOPSIS
6
7 See IRC::Bot::Hangman
8
9 =head1 DESCRIPTION
10
11 This module provides the default word list
12
13 A word list plugin is basically a method name()
14 and a __DATA__ section containing the words.
15
16 =cut
17
18 package IRC::Bot::Hangman::WordList::Default;
19 1 ▶use warnings::register;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21
22
23 =head1 METHODS
24
25 =head2 name()
26
27 This plugin name - 'default'
28
29 =cut
30
31 sub name () { 'default' }
32
33
34
35 1 1;
36
37
38 =head1 AUTHOR
39
40 Pierre Denis <pierre@itrelease.net>
41
42 http://www.itrelease.net/
43
44 =head1 COPYRIGHT
45
46 Copyright 2005 IT Release Ltd - All Rights Reserved.
47
48 This module is released under the same license as Perl itself.
49
50 =cut
51
52
53 __DATA__
« lib/IRC/Bot/Hangman/Response/Profanity.pm ↑ Summary lib/IRC/Bot/Hangman/WordList/TooEasy.pm »