Permalink
Browse files

Most elements of %globals are explicitly assigned to inside

init_globals().

Hence, we don't have to explicitly assign them at top of file.
  • Loading branch information...
1 parent dcaa954 commit 43b28fe9b2f416bf6e085e26055ee5c90e1f10eb @jkeenan committed Jul 3, 2012
Showing with 1 addition and 19 deletions.
  1. +1 −19 lib/Pod/Html.pm
View
@@ -224,25 +224,7 @@ This program is distributed under the Artistic License.
=cut
-my %globals = map { $_ => undef } qw(
- Cachedir
- Dircache
- Htmlroot
- Htmldir
- Htmlfile
- Htmlfileurl
- Podfile
- Podroot
- Poderrors
- Css
- Recurse
- Quiet
- Verbose
- Doindex
- Backlink
- Title
- Header
-);
+my %globals = ();
$globals{Podpath} = [];
# associative array used to find the location
# of pages referenced by L<> links.

0 comments on commit 43b28fe

Please sign in to comment.