File Coverage

blib/lib/Perl6/Pod/FormattingCode/M.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Perl6::Pod::FormattingCode::M;
2              
3             =pod
4              
5             =head1 NAME
6              
7             Perl6::Pod::FormattingCode::M - class of M code
8              
9             =head1 SYNOPSIS
10              
11             =begin pod
12             =use CustomCode TT<>
13             sds M
14             =end pod
15              
16              
17             =head1 DESCRIPTION
18              
19             Perldoc modules can define their own formatting codes, using the M<> code. An M<> code must start with a colon-terminated scheme specifier. The rest of the enclosed text is treated as the (verbatim) contents of the formatting code. For example:
20              
21             =use Perldoc::TT TT<>
22            
23             =head1 Overview of the M class
24             (version M)
25            
26             M
27              
28             The M<> formatting code is the inline equivalent of a named block.
29              
30             =cut
31              
32 3     3   14 use warnings;
  3         4  
  3         81  
33 3     3   14 use strict;
  3         6  
  3         61  
34 3     3   15 use Perl6::Pod::FormattingCode;
  3         7  
  3         61  
35 3     3   12 use base 'Perl6::Pod::FormattingCode';
  3         5  
  3         243  
36             our $VERSION = '0.01';
37              
38             1;
39             __END__