File Coverage

blib/lib/DhMakePerl/Command/help.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package DhMakePerl::Command::help;
2              
3             =head1 NAME
4              
5             DhMakePerl::Command::help - dh-make-perl help implementation
6              
7             =head1 DESCRIPTION
8              
9             This module implements the I command of L.
10              
11             =cut
12              
13 1     1   2466735 use strict; use warnings;
  1     1   23  
  1         82  
  1         6  
  1         8  
  1         165  
14              
15             our $VERSION = '0.65';
16              
17 1     1   56 use base 'DhMakePerl';
  1         2  
  1         673  
18             use Pod::Usage;
19              
20             =head1 METHODS
21              
22             =over
23              
24             =item execute
25              
26             Provides I command implementation.
27              
28             =cut
29              
30             sub execute {
31             my $self = shift;
32              
33             # Help requested? Nice, we can just die! Isn't it helpful?
34             die pod2usage( -message => "See `man 1 dh-make-perl' for details.\n" )
35             }
36              
37             =back
38              
39             =cut
40              
41             1;
42              
43             =head1 COPYRIGHT & LICENSE
44              
45             =over
46              
47             =item Copyright (C) 2008, 2009, 2010 Damyan Ivanov
48              
49             =back
50              
51             This program is free software; you can redistribute it and/or modify it under
52             the terms of the GNU General Public License version 2 as published by the Free
53             Software Foundation.
54              
55             This program is distributed in the hope that it will be useful, but WITHOUT ANY
56             WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
57             PARTICULAR PURPOSE. See the GNU General Public License for more details.
58              
59             You should have received a copy of the GNU General Public License along with
60             this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
61             Street, Fifth Floor, Boston, MA 02110-1301 USA.
62              
63             =cut
64