blib/lib/Lingy/Keyword.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use strict; use warnings;
2 package Lingy::Keyword;
3  
4 use base 'Lingy::ScalarClass';
5  
6 use overload cmp => \&comp_pair;
7  
8 sub new {
9 my ($class, $scalar) = @_;
10 $scalar =~ s/^://;
11 $scalar = ":$scalar";
12 bless \$scalar, $class;
13 }
14  
15 1;