NI-XS, jhi and porters,
The surgical operation is finished. PerlIO layer functions in Encode.xs
has been successfully detached. Now PerlIO part is in
PerlIO::encoding. They are now more like interdependent than
dependent. You can get one via URLs below;
http://www.dan.co.jp/~dankogai/PerlIO-encoding-0.01.tar.gz
http://www.dan.co.jp/~dankogai/Encode-1.42.tar.gz
http://www.dan.co.jp/~dankogai/perl-dan.tar.bz2
The last one is the whole perl with interdependent versions of Encode
and PerlIO. As a matter of fact, just replace Encode with 1.42 above,
untargzip PerlIO-encoding-0.01 at ext/PerlIO/ and rename the thawed
directory to "encoding", and fix toplevel MANIFEST and it will work
perfectly. Configure file needed now modification.
Here is how Encode tests as a module.
t/Aliases.....ok
t/CN..........ok
t/Encode......ok
t/Encoder.....ok
t/JP..........ok, 6/27 skipped: PerlIO Encoding Needed
t/KR..........ok, 6/22 skipped: PerlIO Encoding Needed
t/TW..........ok
t/Unicode.....ok
t/encoding....ok
t/grow........ok
t/jperl.......ok
All tests successful, 12 subtests skipped.
Files=11, Tests=4616, 11 wallclock secs ( 7.52 cusr + 0.50 csys =
8.02 CPU)
And with Whole perl and PerlIO
ext/Encode/t/CN.....................ok
ext/Encode/t/Encode.................ok
ext/Encode/t/Encoder................ok
ext/Encode/t/JP.....................ok
ext/Encode/t/KR.....................ok
ext/Encode/t/TW.....................ok
ext/Encode/t/Unicode................ok
ext/Encode/t/encoding...............ok
ext/Encode/t/grow...................ok
ext/Encode/t/jperl..................ok
[....]
ext/PerlIO/PerlIO...................ok
ext/PerlIO/t/encoding...............ok
ext/PerlIO/t/scalar.................ok
ext/PerlIO/t/via....................ok
See ext/PerlIO/t/encoding.t was never modified. So it is 100%
compatible with the prior version.
FYI those will not be uploaded to CPAN; I'll wait until perl-current
catches up. And PerlIO::encoding is not mine but NI-XS. So if it is to
be CPANized, it must be done by NI-XS (I pretty much doubt if he does,
however).
.....Man, I'm exhausted. Autrijus, Jungshik, sorry for not responding
soon. Please let me take a nap before I process your new READMEs.
Dan the Encode Maintainer.