File Coverage

blib/lib/Syntax/Feature/QwComments.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Syntax::Feature::QwComments;
2              
3 7     7   990220 use strict;
  7         16  
  7         304  
4 7     7   40 use warnings;
  7         16  
  7         374  
5              
6 7     7   3099 use version; our $VERSION = qv('v1.16.0');
  7         15036  
  7         46  
7              
8 7     7   808 use XSLoader qw( );
  7         22  
  7         995  
9              
10             XSLoader::load('Syntax::Feature::QwComments', $VERSION);
11              
12 16     16   30717 sub import { $^H{ hint_key() } = 1; }
13 12     12   3813 sub unimport { $^H{ hint_key() } = 0; }
14              
15             *install = \&import; # For syntax.pm
16             *uninstall = \&unimport; # For syntax.pm
17              
18             1;
19              
20              
21             __END__