blib/script/hashbase_inc.pl untested

filter: Statementstmt 0.0% 0 / 15 Branchbran 0.0% 0 / 4 Conditioncond 0.0% 0 / 4 MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
help
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2 use strict;
3 use warnings;
4  
5 use Object::HashBase::Inline;
6  
7 my ($prefix, $version) = @ARGV;
8  
9 help() and exit 255 unless $prefix;
10 help() and exit 0 if grep { m/^-+h(elp)?$/i } @ARGV;
11  
12 Object::HashBase::Inline::inline($prefix, $version);
13  
14 sub help {
15 print <<" EOT"
16 Usage: $0 Prefix::Namespace [module version number]
17  
18 This will create Prefix::Namespace::HashBase in
19 lib/Prefix/Namespace/HashBase.pm and add t/HashBase.t.
20  
21 EOT
22 }
23  
24 1;