script/html_formfu_deploy.pl untested

filter: Statementstmt 0.0% 0 / 14 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 19 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2 use strict;
3 use warnings;
4  
5 our $VERSION = '2.05'; # VERSION
6  
7 use HTML::FormFu::Deploy;
8  
9 warn <<END;
10 You only need to create a local copy of the HTML::FormFu template files
11 if you intend on customising them.
12 Otherwise, HTML::FormFu should automatically locate the system-wide copy of
13 the files, installed in the perl \@INC paths.
14  
15 END
16  
17 if ( @ARGV != 1 ) {
18 die "ERROR: Target directory argument required\n";
19 }
20  
21 HTML::FormFu::Deploy::deploy( $ARGV[0] );
22  
23 __END__
24  
25 =head1 NAME
26  
27 html_formfu_deploy.pl - deploy local copy of HTML::FormFu template files
28  
29 =head1 VERSION
30  
31 version 2.05
32  
33 =head1 SYNOPSIS
34  
35 html_formfu_deploy.pl F<target-directory>
36  
37 =head1 DESCRIPTION
38  
39 The "html_formfu_deploy.pl" script creates a local copy of the HTML::FormFu
40 template files for customization in the directory F<target-directory>.
41  
42 If no customization is needed, HTML::FormFu should use the system-wide
43 installation of the template files.
44  
45 =head1 SEE ALSO
46  
47 HTML::FormFu::Deploy