Doc::Perlish - Perl Documentation Tools


Doc-Perlish documentation  | view source Contained in the Doc-Perlish distribution.

Index


NAME

Top

Doc::Perlish - Perl Documentation Tools

SYNOPSIS

Top

 my $doc = Doc::Perlish->new( type => "POD", input => "source.pod" );

 # simple conversions;
 my $html = $doc->to_html;

 # DOM-style interface; see Doc::Perlish::DOM for more;
 my $dom = $doc->to_dom;

 # event-style interface;
 my $filter = Doc::Perlish::Filter->new();
 $doc->add_filter($filter);

 my $writer = Doc::Perlish::Writer::XML->new( output => "out.xml" );
 $doc->final_sender->receiver($writer);

 # run conversion!
 $doc->send_all;

DESCRIPTION

Top

Doc::Perlish is a set of tools that define and work with the Perldoc Information Model. The tools will eventally provide parsers for various Doc::Perlish Dialects (including Pod and Kwid), and formatters for various output formats.

The Doc::Perlish class, on the other hand, is an object which simultaneously can behave like a:

For more details about what each component involves, and the calling convention, see the relevant documentation for the module.

= AUTHORS

* Brian Ingerson <ingy@cpan.org> * Sam Vilain <samv@cpan.org>

= COPYRIGHT

Copyright (c) 2005, Brian Ingerson, Sam Vilain. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html


Doc-Perlish documentation  | view source Contained in the Doc-Perlish distribution.