blib/lib/Pod/POM/Nodes.pm

filter: Statementstmt 100% 59 / 59 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 18 / 18 Podpod n/a totaltotal 98.7% 78 / 79 CC 1 SCAR 0.0
CC
1
Cov
98%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Pod/POM/Node/For.pm ↑ Summary blib/lib/Pod/POM/Constants.pm »
1 #============================================================= -*-Perl-*-
2 #
3 # Pod::POM::Nodes
4 #
5 # DESCRIPTION
6 # Module implementing specific nodes in a Pod::POM, subclassed from
7 # Pod::POM::Node.
8 #
9 # AUTHOR
10 # Andy Wardley <abw@kfs.org>
11 #
12 # COPYRIGHT
13 # Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
14 #
15 # This module is free software; you can redistribute it and/or
16 # modify it under the same terms as Perl itself.
17 #
18 # REVISION
19 # $Id: Nodes.pm 76 2009-08-20 20:41:33Z ford $
20 #
21 #========================================================================
22  
23 package Pod::POM::Nodes;
24 18 $Pod::POM::Nodes::VERSION = '2.01';
25 18 require 5.006;
26 18 require Exporter;
27  
28 18 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
29 18 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 18 ▶use Pod::POM::Node::Pod;
Subroutine BEGIN: called CC=1 SCAR=0.0
32 18 ▶use Pod::POM::Node::Head1;
Subroutine BEGIN: called CC=1 SCAR=0.0
33 18 ▶use Pod::POM::Node::Head2;
Subroutine BEGIN: called CC=1 SCAR=0.0
34 18 ▶use Pod::POM::Node::Head3;
Subroutine BEGIN: called CC=1 SCAR=0.0
35 18 ▶use Pod::POM::Node::Head4;
Subroutine BEGIN: called CC=1 SCAR=0.0
36 18 ▶use Pod::POM::Node::Over;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 18 ▶use Pod::POM::Node::Item;
Subroutine BEGIN: called CC=1 SCAR=0.0
38 18 ▶use Pod::POM::Node::Begin;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 18 ▶use Pod::POM::Node::For;
Subroutine BEGIN: called CC=1 SCAR=0.0
40 18 ▶use Pod::POM::Node::Verbatim;
Subroutine BEGIN: called CC=1 SCAR=0.0
41 18 ▶use Pod::POM::Node::Code;
Subroutine BEGIN: called CC=1 SCAR=0.0
42 18 ▶use Pod::POM::Node::Text;
Subroutine BEGIN: called CC=1 SCAR=0.0
43 18 ▶use Pod::POM::Node::Sequence;
Subroutine BEGIN: called CC=1 SCAR=0.0
44 18 ▶use Pod::POM::Node::Content;
Subroutine BEGIN: called CC=1 SCAR=0.0
45  
46  
47 18 ▶use vars qw( $DEBUG $ERROR @EXPORT_OK @EXPORT_FAIL );
Subroutine BEGIN: called CC=1 SCAR=0.0
48 18 ▶use parent qw( Exporter );
Subroutine BEGIN: called CC=1 SCAR=0.0
49  
50 18 ▶$DEBUG = 0 unless defined $DEBUG;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $Pod::POM::Nodes::DEBUG 18 0 18
51  
52 18 1;
53  
54 =head1 NAME
55  
56 Pod::POM::Nodes - convenience class to load all node classes
57  
58 =head1 SYNOPSIS
59  
60 use Pod::POM::Nodes;
61  
62 =head1 DESCRIPTION
63  
64 This module implements a convenience class that simply uses all of the subclasses of Pod::POM::Node.
65 (It used to include all the individual classes inline, but the node classes have been factored out
66 into individual modules.)
67  
68 =head1 AUTHOR
69  
70 Andy Wardley E<lt>abw@kfs.orgE<gt>
71  
72 =head1 COPYRIGHT
73  
74 Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
75  
76 This module is free software; you can redistribute it and/or
77 modify it under the same terms as Perl itself.
78  
79 =head1 SEE ALSO
80  
81 Consult L<Pod::POM> for a general overview and examples of use.
82  
« blib/lib/Pod/POM/Node/For.pm ↑ Summary blib/lib/Pod/POM/Constants.pm »