blib/lib/oEdtk/lib/edms_process.pl untested

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2  
3 use strict;
4 use warnings;
5  
6 use oEdtk::EDMS qw(EDMS_process_zip);
7  
8 if ( @ARGV < 2 or $ARGV[0] =~ /-h/i ) {
9 warn "Usage: $0 <ged.zip> <outdir>\n\n";
10 warn "\tThis process ged.zip to load index and prepare pdf docs for loading in EDMS system.\n";
11 warn
12 "\tpdf and index should have the same name and should use uniq id (see index structure).\n";
13 exit 1;
14 }
15  
16 EDMS_process_zip( $ARGV[0], $ARGV[1] );