APIReference/V5_018_000.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« APIReference/V5_016_003.pm ↑ Summary APIReference/V5_018_001.pm »
1 package Perl::APIReference::V5_018_000;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Sereal::Decoder;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use parent 'Perl::APIReference';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
8 4 my $class = shift;
9 4 my $pos = tell(*DATA);
10 4 binmode(*DATA);
11 4 local $/ = undef;
12  
13 4 my $data = <DATA>;
14 4 $data =~ s/^\s+//;
15  
16 4 my $self = bless({
17 'index' => Sereal::Decoder::decode_sereal($data),
18 perl_version => '5.018000',
19 } => $class);
20  
21 4 seek(*DATA, $pos, 0);
22  
23 4 return $self;
24 }
25  
26 1 1;
27  
28 __DATA__
« APIReference/V5_016_003.pm ↑ Summary APIReference/V5_018_001.pm »