Dist/Dzpl/App.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 29 CC 2 SCAR 12.8
CC
2
Cov
0%
run
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package Dist::Dzpl::App;
2  
3 use strict;
4 use warnings;
5  
6 use Dist::Dzpl;
7  
8 sub run {
9 my $self = shift;
10 my $dzpl = shift;
11 my @arguments = @_;
12  
13 unless ( @arguments ) {
14 print <<_END_;
15 $0: Nothing to do, try
16  
17 dzpl build
18 dzpl test
19 dzpl release
20 dzpl dzil ...
21  
22 _END_
23 return;
24 }
25  
26 $dzpl ||= Dist::Dzpl->from_file; # For now, load from the (current) working directory
27 $dzpl->run( @arguments );
28 }
29  
30 1;