blib/lib/Perl/Type/Modifier/Reference.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod n/a totaltotal 100% 34 / 34 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Perl/Type/Modifier.pm ↑ Summary blib/lib/perltypesnamespaces_generated.pm »
1 # [[[ HEADER ]]]
2 package Perl::Type::Modifier::Reference;
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 ▶use Perl::Config; # don't use Perl::Types inside itself, in order to avoid circular includes
Subroutine BEGIN: called CC=1 SCAR=0.0
6 5 our $VERSION = 0.002_000;
7  
8 # [[[ OO INHERITANCE ]]]
9 5 ▶use parent qw(Perl::Type::Modifier);
Subroutine BEGIN: called CC=1 SCAR=0.0
10 5 ▶use Perl::Type::Modifier;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 # [[[ SUB-TYPES ]]]
13 # a reference is the location of a data type or data structure;
14 # a reference is not a data type, regardless of Perl's internal RV type, use 'unknown' instead
15 # NEED FIX???: overload Perl's 'ref' keyword
16 package reference;
17 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 5 ▶use parent qw(Perl::Type::Modifier::Reference);
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 5 1; # end of class
« blib/lib/Perl/Type/Modifier.pm ↑ Summary blib/lib/perltypesnamespaces_generated.pm »