NAME
Pod::Html::Util - helper functions for Pod-Html
SUBROUTINES
parse_command_line()
TK
usage()
TK
unixify()
TK
relativize_url()
Convert an absolute URL to one relative to a base URL. Assumes both end in a filename.
html_escape()
Make text safe for HTML.
htmlify()
htmlify($heading);
Converts a pod section specification to a suitable section specification for HTML. Note that we keep spaces and special characters except ", ?
(Netscape problem) and the hyphen (writer's problem...).
anchorify()
anchorify(@heading);
Similar to htmlify()
, but turns non-alphanumerics into underscores. Note that anchorify()
is not exported by default.
trim_leading_whitespace()
Remove any level of indentation (spaces or tabs) from each code block consistently. Adapted from: https://metacpan.org/source/HAARG/MetaCPAN-Pod-XHTML-0.002001/lib/Pod/Simple/Role/StripVerbatimIndent.pm