Skip to content

Commit

Permalink
Start refactoring lib/Pod/Html.pm
Browse files Browse the repository at this point in the history
Group all the "global" variables into a hashref $globals.  This variable
will be the return value of init_globals() within pod2html(), will be
passed through, and augmented by, parse_command_line() and then used
through the balance of pod2html().

In essence, so far this is just a renaming of variables.

Remove declarations of superseded variables.

Pass $globals to get_cache(), cache_key() and load_cache().
  • Loading branch information
jkeenan committed May 11, 2021
1 parent 0c992e7 commit dcfa7ff
Showing 1 changed file with 128 additions and 133 deletions.

0 comments on commit dcfa7ff

Please sign in to comment.