summaryrefslogtreecommitdiff
path: root/ext/Pod-Html
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-05-15 21:18:14 -0600
committerKarl Williamson <khw@cpan.org>2014-06-05 11:23:00 -0600
commit5f1269ab079ccc53073681a4adc4f6cf92114d91 (patch)
treef6d5d84d594bd6b45fb115610b5f6b4616e8e327 /ext/Pod-Html
parentc12840116686daefb4f2c59922677425930cd05f (diff)
downloadperl-5f1269ab079ccc53073681a4adc4f6cf92114d91.tar.gz
'use locale' no longer ever fails.to compile
Thus we can skip the machinations we used to do to make sure things compiled.
Diffstat (limited to 'ext/Pod-Html')
-rw-r--r--ext/Pod-Html/lib/Pod/Html.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm
index f9f05b358e..34729a9c24 100644
--- a/ext/Pod-Html/lib/Pod/Html.pm
+++ b/ext/Pod-Html/lib/Pod/Html.pm
@@ -3,7 +3,7 @@ use strict;
require Exporter;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-$VERSION = 1.21;
+$VERSION = 1.22;
@ISA = qw(Exporter);
@EXPORT = qw(pod2html htmlify);
@EXPORT_OK = qw(anchorify);
@@ -16,11 +16,7 @@ use File::Spec;
use File::Spec::Unix;
use Getopt::Long;
use Pod::Simple::Search;
-BEGIN {
- if($Config{d_setlocale}) {
- require locale; import locale; # make \w work right in non-ASCII lands
- }
-}
+use locale; # make \w work right in non-ASCII lands
=head1 NAME