Subject: | [PATCH] Encode.pm: postpone the load of Encode::Encoding |
Date: | Wed, 28 Feb 2007 15:49:59 +0300 |
To: | bug-encode [...] rt.cpan.org |
From: | Alexey Tourbin <at [...] altlinux.ru> |
---
Encode.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Encode.pm b/Encode.pm
index d003cf2..17ca4aa 100644
--- a/Encode.pm
+++ b/Encode.pm
@@ -209,7 +209,7 @@ predefine_encodings(1);
#
sub predefine_encodings {
- use Encode::Encoding;
+ require Encode::Encoding;
no warnings 'redefine';
my $use_xs = shift;
if ($ON_EBCDIC) {
--
1.5.0.1.GIT