summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2021-03-14 00:08:47 +0000
committerJames E Keenan <jkeenan@cpan.org>2021-07-06 01:08:03 +0000
commitd32e5dc4f13e3a8f42c445ab32d50f7aff8d1cd7 (patch)
treeff7112dbcfe220d0d6382fad5728f18136c359fd /lib
parent1906cbf52f374975647233a566ec1c711cfed623 (diff)
downloadperl-d32e5dc4f13e3a8f42c445ab32d50f7aff8d1cd7.tar.gz
Introduce Pod::Html::Auxiliary
This package will hold helper subroutines used within the main package or in tests. They can be placed in a separate module and imported into Pod::Html because they won't depend on having the globals passed as an argument. They will also be potentially independently testable. Start with html_escape(). Move anchorify(), htmlify() to Auxiliary.pm. Also _unixify -- now as unixify(). Move relativize_url() to Auxiliary. Move usage() to Auxiliary. Move trim_leading_whitespace to Auxiliary. Move parse_command_line() to Auxiliary. Keep porting tests happy. Increment $VERSION. Run: ./perl -Ilib regen/lib_cleanup.pl anchorify.t, eol.t: Correct excessive corrections. Standardize setting of $VERSION.
Diffstat (limited to 'lib')
-rw-r--r--lib/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/.gitignore b/lib/.gitignore
index 4973b08c7d..6d023351fa 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -139,6 +139,7 @@
/Pod/Escapes.pm
/Pod/Functions.pm
/Pod/Html.pm
+/Pod/Html/
/Pod/Man.pm
/Pod/ParseLink.pm
/Pod/Perldoc.pm