APIReference/V5_008_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_006_002.pm ↑ Summary APIReference/V5_008_001.pm »
1 package Perl::APIReference::V5_008_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 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
8 2 my $class = shift;
9 2 my $pos = tell(*DATA);
10 2 binmode(*DATA);
11 2 local $/ = undef;
12  
13 2 my $data = <DATA>;
14 2 $data =~ s/^\s+//;
15  
16 2 my $self = bless({
17 'index' => Sereal::Decoder::decode_sereal($data),
18 perl_version => '5.008000',
19 } => $class);
20  
21 2 seek(*DATA, $pos, 0);
22  
23 2 return $self;
24 }
25  
26 1 1;
27  
28 __DATA__
« APIReference/V5_006_002.pm ↑ Summary APIReference/V5_008_001.pm »