We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4e306 commit a0a3c55Copy full SHA for a0a3c55
lib/Pod/Simple.pod
@@ -5,7 +5,19 @@ Pod::Simple - framework for parsing Pod
5
6
=head1 SYNOPSIS
7
8
- TODO
+ # using an existing formatter
9
+ use Pod::Simple::XHTML;
10
+ my $parser = Pod::Simple::XHTML->new;
11
+ $parser->parse_file('path/to/file.pod');
12
+
13
+ # creating a new formatter
14
+ package Pod::Simple::SomeFormatter;
15
+ use parent qw(Pod::Simple);
16
+ sub _handle_element_start {
17
+ my ($parser, $element_name, $attr_hash_r) = @_;
18
+ ...
19
+ }
20
21
22
=head1 DESCRIPTION
23
0 commit comments