Generic/CLOptions.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Lab::Generic::CLOptions;
2 $Lab::Generic::CLOptions::VERSION = '3.899';
3 #ABSTRACT: Global command line option processing
4  
5 use v5.20;
6  
7 use Getopt::Long qw/:config pass_through/;
8  
9 our $DEBUG = 0;
10 our $IO_INTERFACE = undef;
11  
12 GetOptions(
13 "debug|d" => \$DEBUG,
14 "terminal|t=s" => \$IO_INTERFACE
15 ) or die "error in CLOptions";
16  
17 1;
18  
19 __END__