XML::DTD::Comment - Perl module representing a comment in a comment in a DTD
use XML::DTD::Comment; my $cmt = XML::DTD::Comment->new('<!-- A comment -->');
XML::DTD::Comment is a Perl module representing a comment in a comment in a DTD. The following methods are provided.
my $cmt = XML::DTD::Comment->new('<!-- A comment -->');
Construct a new XML::DTD::Comment object.
open(FH,'>file.xml'); my $xo = new XML::Output({'fh' => *FH}); $cmt->writexml($xo);
Write an XML representation.
XML::DTD, XML::DTD::Component
Brendt Wohlberg <wohl@cpan.org>
Copyright (C) 2004-2010 by Brendt Wohlberg
This library is available under the terms of the GNU General Public License (GPL), described in the GPL file included in this distribution.
To install XML::DTD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::DTD
CPAN shell
perl -MCPAN -e shell install XML::DTD
For more information on module installation, please visit the detailed CPAN module installation guide.