1POM2(1) User Contributed Perl Documentation POM2(1)
2
3
4
6 pom2 - convert POD to Text, HTML, etc., with Pod::POM
7
9 pom2 text MyFile.pm > MyFile.txt
10 pom2 html MyFile.pm > MyFile.html
11 pom2 pod MyFile.pm > Myfile.pod
12
13 pom2 format [options] MyFile.pm > Myfile.xyz
14
16 This script uses "Pod::POM" to convert a Pod document into text, HTML,
17 back into Pod (e.g. to normalise a document to fix any markup errors),
18 or any other format for which you have a view module.
19
20 If the viewer is not one of the viewers bundled with "Pod::POM", the
21 script searches for an installed "Pod::POM::View" module that matches
22 the specified format. For example if you have
23 "Pod::POM::View::DocBook" installed then you could say:
24
25 pod2 docbook MyFile.pm > MyFile.xml
26
27 If any options other than "--help" are specified then they are passed
28 to the constructor method of the view class. For example:
29
30 pod2 docbook --root=chapter --titlecasing MyFile.pm > MyFile.xml
31
32 would convert the Pod document to a DocBook chapter document with the
33 titlecasing option enabled. Note that any string prefixed by ""--"" is
34 taken as a valid option and passed to the constructor; if no value is
35 specified then a value of 1 is passed in.
36
38 Andy Wardley <abw@kfs.org>
39
40 extended by Andrew Ford <A.Ford@ford-mason.co.uk>
41
43 This is version 0.3 of pom2.
44
46 Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
47
48 Copyright (C) 2009 Andrew Ford. All Rights Reserved.
49
50 This module is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52
54 For further information please see Pod::POM.
55
56
57
58perl v5.34.0 2021-07-22 POM2(1)