1Pod::PseudoPod::HTML(3)User Contributed Perl DocumentatioPnod::PseudoPod::HTML(3)
2
3
4
6 Pod::PseudoPod::HTML -- format PseudoPod as HTML
7
9 use Pod::PseudoPod::HTML;
10
11 my $parser = Pod::PseudoPod::HTML->new();
12
13 ...
14
15 $parser->parse_file('path/to/file.pod');
16
18 This class is a formatter that takes PseudoPod and renders it as
19 wrapped html.
20
21 Its wrapping is done by Text::Wrap, so you can change
22 $Text::Wrap::columns as you like.
23
24 This is a subclass of Pod::PseudoPod and inherits all its methods.
25
27 add_body_tags
28 $parser->add_body_tags(1);
29 $parser->parse_file($file);
30
31 Adds beginning and ending "<html>" and "<body>" tags to the formatted
32 document.
33
34 add_css_tags
35 $parser->add_css_tags(1);
36 $parser->parse_file($file);
37
38 Imports a css stylesheet to the html document and adds additional css
39 tags to url, footnote, and sidebar elements for a nicer display. If you
40 don't plan on writing a style.css file (or using the one provided in
41 "examples/"), you probably don't want this option on.
42
44 Pod::PseudoPod, Pod::Simple
45
47 Copyright (c) 2003-2004 Allison Randal. All rights reserved.
48
49 This library is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself. The full text of the license can
51 be found in the LICENSE file included with this module.
52
53 This library is distributed in the hope that it will be useful, but
54 without any warranty; without even the implied warranty of
55 merchantability or fitness for a particular purpose.
56
58 Allison Randal <allison@perl.org>
59
60
61
62perl v5.12.0 2010-05-04 Pod::PseudoPod::HTML(3)