File Coverage

blib/lib/Perl/APIReference/V5_028_000.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 27 27 100.0


line stmt bran cond sub pod time code
1             package Perl::APIReference::V5_028_000;
2 1     1   6 use strict;
  1         2  
  1         39  
3 1     1   4 use warnings;
  1         2  
  1         61  
4 1     1   4 use Sereal::Decoder;
  1         1  
  1         49  
5 1     1   4 use parent 'Perl::APIReference';
  1         1  
  1         8  
6              
7             sub new {
8 5     5 1 11 my $class = shift;
9 5         12 my $pos = tell(*DATA);
10 5         22 binmode(*DATA);
11 5         22 local $/ = undef;
12              
13 5         388 my $data = ;
14 5         26 $data =~ s/^\s+//;
15              
16 5         12771 my $self = bless({
17             'index' => Sereal::Decoder::decode_sereal($data),
18             perl_version => '5.028000',
19             } => $class);
20              
21 5         71 seek(*DATA, $pos, 0);
22              
23 5         39 return $self;
24             }
25              
26             1;
27              
28             __DATA__