In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/ed897e29a200fd3c758cb7ab8c0d953347a98056?hp=152eae845915a3a33260ad109ad3888c8894d666>
- Log ----------------------------------------------------------------- commit ed897e29a200fd3c758cb7ab8c0d953347a98056 Author: Todd Rinaldo <to...@cpan.org> Date: Tue Sep 28 12:19:58 2010 -0500 perl RT# 76668 - This patch resolves CPAN RT #48808. This change: 1. loads I18N::LangTags::Detect in BEGIN rather than whenever _ambient_langprefs is called 2. Removes the version number requirement for I18N::LangTags. Detect didn't come around until 0.31 so a dep on 0.30 is unnecessary. This will assure any load issues with I18N::LangTags::Detect happen at BEGIN, not randomly somewhere in the program. This does increase the dependency on I18N::LangTags from 0.30 to 0.31, but the release dates are as follows, so I don't think it's a big deal: 0.30 - 2004-03-30 Sean M. Burke sbu...@cpan.org 0.31 - 2004-06-17 Sean M. Burke sbu...@cpan.org ----------------------------------------------------------------------- Summary of changes: dist/Locale-Maketext/lib/Locale/Maketext.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/Locale-Maketext/lib/Locale/Maketext.pm b/dist/Locale-Maketext/lib/Locale/Maketext.pm index a685d6b..4436be1 100644 --- a/dist/Locale-Maketext/lib/Locale/Maketext.pm +++ b/dist/Locale-Maketext/lib/Locale/Maketext.pm @@ -4,7 +4,8 @@ use strict; use vars qw( @ISA $VERSION $MATCH_SUPERS $USING_LANGUAGE_TAGS $USE_LITERALS $MATCH_SUPERS_TIGHTLY); use Carp (); -use I18N::LangTags 0.30 (); +use I18N::LangTags (); +use I18N::LangTags::Detect (); #-------------------------------------------------------------------------- @@ -380,7 +381,6 @@ sub _langtag_munging { ########################################################################### sub _ambient_langprefs { - require I18N::LangTags::Detect; return I18N::LangTags::Detect::detect(); } -- Perl5 Master Repository