summaryrefslogtreecommitdiff
path: root/dist/Unicode-Normalize
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2017-09-13 11:22:32 -0600
committerTodd Rinaldo <toddr@cpan.org>2017-11-13 15:34:50 -0600
commitb9a5a78fe9165a983bc689902ecc96cf490f92d0 (patch)
treebfea598e9706aafbe398dde3d4bbcf7e8c74a888 /dist/Unicode-Normalize
parentc0cc035a1caba3801f53dc4dd08c44096ff04389 (diff)
downloadperl-b9a5a78fe9165a983bc689902ecc96cf490f92d0.tar.gz
Switch some core modules to XSLoader
RT 132080: Remove perl 5.006 compatibilities with DynaLoader and use XSLoader directly. The traditional boiler plate to use XSLoader for Perl > 5.006 or DynaLoader, does not make sense for core modules in perl 5.28+.
Diffstat (limited to 'dist/Unicode-Normalize')
-rw-r--r--dist/Unicode-Normalize/Changes3
-rw-r--r--dist/Unicode-Normalize/Normalize.pm8
2 files changed, 7 insertions, 4 deletions
diff --git a/dist/Unicode-Normalize/Changes b/dist/Unicode-Normalize/Changes
index ead5b3e328..22ec16e0bc 100644
--- a/dist/Unicode-Normalize/Changes
+++ b/dist/Unicode-Normalize/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Unicode::Normalize.
+1.26 *** RELEASE DATE HERE ***
+ - Switch to XSLoader from Dynaloader
+
1.25 Wed Dec 16 03:05:57 UTC 2015
- Fix Normalize.xs to work on releases earlier than 5.8. The problem was
introduced in this module's version 1.24
diff --git a/dist/Unicode-Normalize/Normalize.pm b/dist/Unicode-Normalize/Normalize.pm
index b53f5c728b..adf3db50d8 100644
--- a/dist/Unicode-Normalize/Normalize.pm
+++ b/dist/Unicode-Normalize/Normalize.pm
@@ -16,7 +16,7 @@ use Carp;
no warnings 'utf8';
-our $VERSION = '1.25';
+our $VERSION = '1.26';
our $PACKAGE = __PACKAGE__;
our @EXPORT = qw( NFC NFD NFKC NFKD );
@@ -56,9 +56,9 @@ require Exporter;
##### The above part is common to XS and PP #####
-our @ISA = qw(Exporter DynaLoader);
-require DynaLoader;
-bootstrap Unicode::Normalize $VERSION;
+our @ISA = qw(Exporter);
+use XSLoader ();
+XSLoader::load( 'Unicode::Normalize', $VERSION );
##### The below part is common to XS and PP #####