Skip to content

Commit 208d094

Browse files

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

Changes

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
#
33
# $Id: Changes,v 2.90 2017/06/10 17:23:50 dankogai Exp dankogai $
44
#
5-
$Revision: 2.90 $ $Date: 2017/06/10 17:23:50 $
5+
$Revision: 2.90 $ $Date: 2017/06/10 17:23:50$
6+
! Encode.pm
7+
Addressed: RT#122167: use parent q{Encode::Encoding}; fails:
8+
Can't locate object
9+
https://rt.cpan.org/Ticket/Display.html?id=122167
10+
! Makefile.PL
11+
Pulled: fix gcc warnings for older gcc < 4.0
12+
https://github.com/dankogai/p5-encode/pull/114
13+
14+
2.90 2017/06/10 17:23:50
615
! Makefile.PL
716
Pulled: Include all contributors into META
817
https://github.com/dankogai/p5-encode/pull/111

Encode.pm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,12 @@ if ($ON_EBCDIC) {
342342

343343
{
344344
package Encode::utf8;
345+
BEGIN {
346+
$Encode::Encoding{utf8} = bless { Name => 'utf8' } => __PACKAGE__;
347+
}
345348
use parent 'Encode::Encoding';
346-
__PACKAGE__->Define('utf8');
347-
my $strict_obj = bless { Name => "utf-8-strict", strict_utf8 => 1 } => "Encode::utf8";
349+
my $strict_obj =
350+
bless { Name => 'utf-8-strict', strict_utf8 => 1 } => __PACKAGE__;
348351
Encode::define_encoding($strict_obj, 'utf-8-strict');
349352
sub cat_decode {
350353
# ($obj, $dst, $src, $pos, $trm, $chk)

0 commit comments

Comments
 (0)