File Coverage

blib/lib/PPIx/QuoteLike/Token/Control.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 22 22 100.0


line stmt bran cond sub pod time code
1             package PPIx::QuoteLike::Token::Control;
2              
3 7     7   960 use 5.006;
  7         17  
4              
5 7     7   24 use strict;
  7         9  
  7         146  
6 7     7   40 use warnings;
  7         14  
  7         276  
7              
8 7     7   25 use base qw{ PPIx::QuoteLike::Token };
  7         10  
  7         2459  
9              
10 7     7   59 use PPIx::QuoteLike::Constant qw{ @CARP_NOT };
  7         11  
  7         1102  
11              
12             our $VERSION = '0.024';
13              
14             {
15             # TODO make this a state variable when we can require Perl 5.10.
16             my $introduced = {
17             '\\F' => '5.015008',
18             };
19              
20             sub __perl_version_introduced {
21 5     5   7 my ( $self ) = @_;
22 5         10 return $introduced->{ $self->content() };
23             }
24             }
25              
26             1;
27              
28             __END__