| 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
| |||||||||||
| 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 | |||||||||||