File Coverage

blib/lib/DhMakePerl/Command/dump_config.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::dump_config;
2              
3             =head1 NAME
4              
5             DhMakePerl::Command::dump_config - dh-make-perl dump-config implementation
6              
7             =cut
8              
9 1     1   26038754 use strict; use warnings;
  1     1   2  
  1         63  
  1         16  
  1         2  
  1         169  
10              
11             our $VERSION = '0.65';
12              
13 1     1   52 use base 'DhMakePerl';
  1         2  
  1         594  
14              
15             =head1 METHODS
16              
17             =over
18              
19             =item execute
20              
21             The main command entry point.
22              
23             =cut
24              
25             sub execute {
26             my $self = shift;
27              
28             print $self->cfg->dump_config;
29              
30             return 0;
31             }
32              
33             =back
34              
35             =head1 COPYRIGHT & LICENSE
36              
37             =over
38              
39             =item Copyright (C) 2009, 2010 Damyan Ivanov
40              
41             =back
42              
43             This program is free software; you can redistribute it and/or modify it under
44             the terms of the GNU General Public License version 2 as published by the Free
45             Software Foundation.
46              
47             This program is distributed in the hope that it will be useful, but WITHOUT ANY
48             WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
49             PARTICULAR PURPOSE. See the GNU General Public License for more details.
50              
51             You should have received a copy of the GNU General Public License along with
52             this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
53             Street, Fifth Floor, Boston, MA 02110-1301 USA.
54              
55             =cut
56              
57              
58             1;