blib/lib/Pod/POM/Node/Begin.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Pod/POM/Constants.pm ↑ Summary blib/lib/Pod/POM/Node/Pod.pm »
1 #============================================================= -*-Perl-*-
2 #
3 # Pod::POM::Node::Begin
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 # Andrew Ford <a.ford@ford-mason.co.uk>
12 #
13 # COPYRIGHT
14 # Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
15 # Copyright (C) 2009 Andrew Ford. All Rights Reserved.
16 #
17 # This module is free software; you can redistribute it and/or
18 # modify it under the same terms as Perl itself.
19 #
20 # REVISION
21 # $Id: Begin.pm 89 2013-05-30 07:41:52Z ford $
22 #
23 #========================================================================
24  
25 package Pod::POM::Node::Begin;
26 18 $Pod::POM::Node::Begin::VERSION = '2.01';
27 18 require 5.006;
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 parent qw( Pod::POM::Node );
Subroutine BEGIN: called CC=1 SCAR=0.0
32  
33 18 our @ATTRIBS = ( format => undef );
34 18 our @ACCEPT = qw( text verbatim code );
35 18 our $EXPECT = 'end';
36  
37 18 1;
38  
39 =head1 NAME
40  
41 Pod::POM::Node::Begin - POM '=begin' node class
42  
43 =head1 SYNOPSIS
44  
45 =head1 DESCRIPTION
46  
47 This module implements a specialization of the node class to represent '=begin' elements.
48  
49 =head1 AUTHOR
50  
51 Andrew Ford E<lt>a.ford@ford-mason.co.ukE<gt>
52  
53 Andy Wardley E<lt>abw@kfs.orgE<gt>
54  
55 =head1 COPYRIGHT
56  
57 Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
58  
59 Copyright (C) 2009 Andrew Ford. All Rights Reserved.
60  
61 This module is free software; you can redistribute it and/or
62 modify it under the same terms as Perl itself.
63  
64 =head1 SEE ALSO
65  
66 Consult L<Pod::POM::Node> for a discussion of nodes.
« blib/lib/Pod/POM/Constants.pm ↑ Summary blib/lib/Pod/POM/Node/Pod.pm »