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