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   884 use 5.006;
  7         21  
4              
5 7     7   30 use strict;
  7         13  
  7         113  
6 7     7   26 use warnings;
  7         13  
  7         167  
7              
8 7     7   41 use base qw{ PPIx::QuoteLike::Token };
  7         11  
  7         2524  
9              
10 7     7   43 use PPIx::QuoteLike::Constant qw{ @CARP_NOT };
  7         12  
  7         889  
11              
12             our $VERSION = '0.023';
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   8 my ( $self ) = @_;
22 5         15 return $introduced->{ $self->content() };
23             }
24             }
25              
26             1;
27              
28             __END__