diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-10-19 17:46:16 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-10-19 17:54:28 +0200 |
commit | 568e21407b6352aa055afdf1b1904fde2e40877d (patch) | |
tree | e595beecf05ff8b111cebd7af22442b53fd5832a /ext/I18N-Langinfo | |
parent | f4bac82fa0e33af3da305881768188a846dae644 (diff) | |
download | perl-568e21407b6352aa055afdf1b1904fde2e40877d.tar.gz |
Convert I18N::Langinfo to XSLoader from DynaLoader.
Diffstat (limited to 'ext/I18N-Langinfo')
-rw-r--r-- | ext/I18N-Langinfo/Langinfo.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/I18N-Langinfo/Langinfo.pm b/ext/I18N-Langinfo/Langinfo.pm index 32d724a241..51d0d4d5b6 100644 --- a/ext/I18N-Langinfo/Langinfo.pm +++ b/ext/I18N-Langinfo/Langinfo.pm @@ -6,9 +6,9 @@ use warnings; use Carp; require Exporter; -require DynaLoader; +require XSLoader; -our @ISA = qw(Exporter DynaLoader); +our @ISA = qw(Exporter); our @EXPORT = qw(langinfo); @@ -72,7 +72,7 @@ our @EXPORT_OK = qw( YESSTR ); -our $VERSION = '0.05'; +our $VERSION = '0.06'; sub AUTOLOAD { # This AUTOLOAD is used to 'autoload' constants from the constant() @@ -97,7 +97,7 @@ sub AUTOLOAD { goto &$AUTOLOAD; } -bootstrap I18N::Langinfo $VERSION; +XSLoader::load(); 1; __END__ |