1 #============================================================= -*-Perl-*-
3 # Pod::POM::Node::Head4
6 # Module implementing specific nodes in a Pod::POM, subclassed from
10 # Andy Wardley <abw@kfs.org>
11 # Andrew Ford <a.ford@ford-mason.co.uk>
14 # Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
15 # Copyright (C) 2009 Andrew Ford. All Rights Reserved.
17 # This module is free software; you can redistribute it and/or
18 # modify it under the same terms as Perl itself.
21 # $Id: Head4.pm 76 2009-08-20 20:41:33Z ford $
23 #========================================================================
25 package BASIS::Pod::POM::Node::Head4;
29 use parent qw( BASIS::Pod::POM::Node );
30 use vars qw( %ATTRIBS @ACCEPT $ERROR );
32 %ATTRIBS = ( title => undef );
33 @ACCEPT = qw( over begin for text verbatim code );
36 my ($class, $pom, $title) = @_;
37 $title = $pom->parse_sequence($title)
38 || return $class->error($pom->error())
40 return $class->SUPER::new($pom, $title);
47 Pod::POM::Node::Head4 -
55 This module implements a specialization of the node class to represent C<=head4> elements.
59 Andrew Ford E<lt>a.ford@ford-mason.co.ukE<gt>
61 Andy Wardley E<lt>abw@kfs.orgE<gt>
65 Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
67 Copyright (C) 2009 Andrew Ford. All Rights Reserved.
69 This module is free software; you can redistribute it and/or
70 modify it under the same terms as Perl itself.
74 Consult L<Pod::POM::Node> for a discussion of nodes.