(test draft snipped) > I have replace test cases 25 - 28 with the ones listed above. And the > results were as follows: > > /defects/brian/unicode/Unicode-Transform-0.20:>make test > PERL_DL_NONLAZY=1 /defects/brian/nonthreaded/perl-5.8.0/perl > "-I/defects/brian/n > onthreaded/perl-5.8.0/lib" "-I/defects/brian/nonthreaded/perl-5.8.0/lib" > "-MExtU > tils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/handler....ok > t/test.......ok > All tests successful. > Files=2, Tests=38, 3 wallclock secs ( 0.37 cusr + 0.12 csys = 0.49 CPU)
Thank you for testing. A newer version with these tests will be released soon from CPAN. > One more thing though. I am writing a XS module myself and I would like > to convert C strings from UTF-EBCDIC to UTF-8 and back. Your module > works well from Perl space, but do you have any ideas of how I can do > this from C? > > Thanks > Brian How about the usual way to call a Perl subroutine from XS, as described in perlcall.pod? (cf. http://www.perldoc.com/perl5.8.0/pod/perlcall.html ) An SV will be used rather than a C string, on passing and returning a string. SADAHIRO Tomoyuki