Nodes.pm
Go to the documentation of this file.
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 BASIS::Pod::POM::Nodes;
24 
25 require 5.004;
26 require Exporter;
27 
28 use strict;
29 
30 use BASIS::Pod::POM::Node::Pod;
31 use BASIS::Pod::POM::Node::Head1;
32 use BASIS::Pod::POM::Node::Head2;
33 use BASIS::Pod::POM::Node::Head3;
34 use BASIS::Pod::POM::Node::Head4;
35 use BASIS::Pod::POM::Node::Over;
36 use BASIS::Pod::POM::Node::Item;
37 use BASIS::Pod::POM::Node::Begin;
38 use BASIS::Pod::POM::Node::For;
39 use BASIS::Pod::POM::Node::Verbatim;
40 use BASIS::Pod::POM::Node::Code;
41 use BASIS::Pod::POM::Node::Text;
42 use BASIS::Pod::POM::Node::Sequence;
43 use BASIS::Pod::POM::Node::Content;
44 
45 
46 use vars qw( $VERSION $DEBUG $ERROR @EXPORT_OK @EXPORT_FAIL );
47 use base qw( Exporter );
48 
49 $VERSION = sprintf("%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/);
50 $DEBUG = 0 unless defined $DEBUG;
51 
52 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