POM2(1)
π NAME π
okay bestie, this is the POM2(1) page from the User Contributed Perl Documentation, and itβs literally about pom2 β convert POD to Text, HTML, etc., with Pod::POM. slay. π
β¨ SYNOPSIS β¨
pom2 text MyFile.pm > MyFile.txt
pom2 html MyFile.pm > MyFile.html
pom2 pod MyFile.pm > Myfile.pod
pom2 format [options] MyFile.pm > Myfile.xyz
π¦ DESCRIPTION π¦
Bestie, this script is the moment: it uses Pod::POM to convert a Pod document into text, HTML, back into Pod β literally e.g. to normalise a document and fix any markup errors β or any other format for which you have a view module. no cap. β¨
If the viewer is not one of the viewers bundled with Pod::POM, the script searches for an installed Pod::POM::View module that matches the specified format. For example, if you have Pod::POM::View::DocBook installed, then you could say:
pod2 docbook MyFile.pm > MyFile.xml
If any options other than --help are specified, then they are passed to the constructor method of the view class. For example:
pod2 docbook --root=chapter --titlecasing MyFile.pm > MyFile.xml
would convert the Pod document to a DocBook chapter document with the titlecasing option enabled. π
Note that any string prefixed by--is taken as a valid option and passed to the constructor; if no value is specified, then a value of1is passed in. π«Ά
πΈ AUTHOR πΈ
Andy Wardley <abw@kfs.org>
extended by Andrew Ford <A.Ford@ford-mason.co.uk>
π VERSION π
This is version 0.3 of pom2.
π COPYRIGHT π
Copyright (C) 2000, 2001 Andy Wardley. All Rights Reserved.
Copyright (C) 2009 Andrew Ford. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
π§ SEE ALSO π§
For further information please see Pod::POM.
later bestie β this page came from perl v5.42.0, dated 2015-11-20 π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Pod-POM 2.01-bp160.1.12 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms