File Coverage

blib/lib/PPI/Statement/End.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package PPI::Statement::End;
2              
3             =pod
4              
5             =head1 NAME
6              
7             PPI::Statement::End - Content after the __END__ of a module
8              
9             =head1 SYNOPSIS
10              
11             # This is normal content
12            
13             __END__
14            
15             This is part of a PPI::Statement::End statement
16            
17             =pod
18            
19             This is not part of the ::End statement, it's POD
20            
21             =cut
22            
23             This is another PPI::Statement::End statement
24              
25             =head1 INHERITANCE
26              
27             PPI::Statement::End
28             isa PPI::Statement
29             isa PPI::Node
30             isa PPI::Element
31              
32             =head1 DESCRIPTION
33              
34             C is a utility class designed to serve as a contained
35             for all of the content after the __END__ tag in a file.
36              
37             It doesn't cover the ENTIRE of the __END__ section, and can be interspersed
38             with L tokens.
39              
40             =head1 METHODS
41              
42             C has no additional methods beyond the default ones
43             provided by L, L and L.
44              
45             =cut
46              
47 64     64   499 use strict;
  64         159  
  64         1829  
48 64     64   356 use PPI::Statement ();
  64         136  
  64         4581  
49              
50             our $VERSION = '1.277';
51              
52             our @ISA = "PPI::Statement";
53              
54             # Once we have an __END__ we're done
55             sub _complete () { 1 }
56              
57             1;
58              
59             =pod
60              
61             =head1 SUPPORT
62              
63             See the L in the main module.
64              
65             =head1 AUTHOR
66              
67             Adam Kennedy Eadamk@cpan.orgE
68              
69             =head1 COPYRIGHT
70              
71             Copyright 2001 - 2011 Adam Kennedy.
72              
73             This program is free software; you can redistribute
74             it and/or modify it under the same terms as Perl itself.
75              
76             The full text of the license can be found in the
77             LICENSE file included with this module.
78              
79             =cut