diff options
author | James E Keenan <jkeenan@cpan.org> | 2021-03-10 14:10:25 -0500 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2021-03-14 19:16:37 -0400 |
commit | 89c01aa5635b1bc88a1b2cad7add55b591f89aea (patch) | |
tree | d374fe1554e19f41ffeaf467aac844c3136f66ea /ext/Pod-Html | |
parent | 6342a5df05996df376483301fe2440c8230a688d (diff) | |
download | perl-89c01aa5635b1bc88a1b2cad7add55b591f89aea.tar.gz |
Remove duplicate call to init_globals()
The first call was added in a 2003 refactoring of the code in commit
99cb6bd822. It doesn't do anything other than what the second, older
invocation does, so it's superfluous and deletable.
Diffstat (limited to 'ext/Pod-Html')
-rw-r--r-- | ext/Pod-Html/lib/Pod/Html.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm index b825acadca..ad6be35a8b 100644 --- a/ext/Pod-Html/lib/Pod/Html.pm +++ b/ext/Pod-Html/lib/Pod/Html.pm @@ -2,7 +2,7 @@ package Pod::Html; use strict; require Exporter; -our $VERSION = 1.26; +our $VERSION = 1.27; our @ISA = qw(Exporter); our @EXPORT = qw(pod2html htmlify); our @EXPORT_OK = qw(anchorify relativize_url); @@ -258,8 +258,6 @@ my %Pages = (); # associative array used to find the location my $Curdir = File::Spec->curdir; -init_globals(); - sub init_globals { $Cachedir = "."; # The directory to which directory caches # will be written. |