From: Jarkko Hietaniemi Date: Fri, 29 Mar 2002 21:00:32 +0000 (+0000) Subject: Upgrade to Encode 1.01, from Dan Kogai. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=037b88d659e9f3d508c92490dc68052a82a1cbd6;p=p5sagit%2Fp5-mst-13.2.git Upgrade to Encode 1.01, from Dan Kogai. p4raw-id: //depot/perl@15616 --- diff --git a/ext/Encode/Changes b/ext/Encode/Changes index 27feae4..3cf2226 100644 --- a/ext/Encode/Changes +++ b/ext/Encode/Changes @@ -1,8 +1,23 @@ # Revision history for Perl extension Encode. # -# $Id: Changes,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: Changes,v 1.1 2002/03/29 20:59:39 dankogai Exp dankogai $ # -1.00 Wed Mar 27 2002 +1.01 $Date: 2002/03/29 20:59:39 $ +! Makefile.PL +! README + s/USE_SCRIPTS/MORE_SCRIPTS/ +! Makefile.PL + installs enc2xs by default for external Encode:: modules in CPAN, + such as Encode::HanExtra +! t/*.t + More sensible perl core detection via $ENV{PERL_CORE} + suggested by Spider + Message-Id: <200203291007.FAA07329@Orb.Nashua.NH.US> +! bin/enc2xs + Perl core ditection via $^X =~ m/\bminiperl$/o + Message-Id: + +1.00 Wed Mar 29 2002 ! * The version of all files is updated to 1.00 via "ci -f -l1.00", commemorating version 1.00. All files, including *.ucm are now diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm index 267df8e..d07bfea 100644 --- a/ext/Encode/Encode.pm +++ b/ext/Encode/Encode.pm @@ -1,6 +1,6 @@ package Encode; use strict; -our $VERSION = do { my @r = (q$Revision: 1.0 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; +our $VERSION = do { my @r = (q$Revision: 1.1 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; our $DEBUG = 0; require DynaLoader; diff --git a/ext/Encode/Encode/8859-1.ucm b/ext/Encode/Encode/8859-1.ucm index 4b11c6c..6e1caba 100644 --- a/ext/Encode/Encode/8859-1.ucm +++ b/ext/Encode/Encode/8859-1.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-1.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-1.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-1 -o Encode/iso8859-1.ucm Encode/iso8859-1.enc "iso-8859-1" diff --git a/ext/Encode/Encode/8859-10.ucm b/ext/Encode/Encode/8859-10.ucm index b06daa1..dcf79fe 100644 --- a/ext/Encode/Encode/8859-10.ucm +++ b/ext/Encode/Encode/8859-10.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-10.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-10.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-10 -o Encode/iso8859-10.ucm Encode/iso8859-10.enc "iso-8859-10" diff --git a/ext/Encode/Encode/8859-11.ucm b/ext/Encode/Encode/8859-11.ucm index 1904b4f..5047598 100644 --- a/ext/Encode/Encode/8859-11.ucm +++ b/ext/Encode/Encode/8859-11.ucm @@ -1,7 +1,7 @@ # -# $Id: 8859-11.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-11.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # -# Written $Id: 8859-11.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# Written $Id: 8859-11.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # ./compile -n iso-8859-11 -o Encode/iso8859-11.ucm Encode/iso8859-11.enc "iso-8859-11" 1 diff --git a/ext/Encode/Encode/8859-13.ucm b/ext/Encode/Encode/8859-13.ucm index 4955ed4..f3a5eb4 100644 --- a/ext/Encode/Encode/8859-13.ucm +++ b/ext/Encode/Encode/8859-13.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-13.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-13.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-13 -o Encode/iso8859-13.ucm Encode/iso8859-13.enc "iso-8859-13" diff --git a/ext/Encode/Encode/8859-14.ucm b/ext/Encode/Encode/8859-14.ucm index c1a9b48..a427b82 100644 --- a/ext/Encode/Encode/8859-14.ucm +++ b/ext/Encode/Encode/8859-14.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-14.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-14.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-14 -o Encode/iso8859-14.ucm Encode/iso8859-14.enc "iso-8859-14" diff --git a/ext/Encode/Encode/8859-15.ucm b/ext/Encode/Encode/8859-15.ucm index 6690a14..69cf924 100644 --- a/ext/Encode/Encode/8859-15.ucm +++ b/ext/Encode/Encode/8859-15.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-15.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-15.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-15 -o Encode/iso8859-15.ucm Encode/iso8859-15.enc "iso-8859-15" diff --git a/ext/Encode/Encode/8859-16.ucm b/ext/Encode/Encode/8859-16.ucm index fc2a5ad..8cc3899 100644 --- a/ext/Encode/Encode/8859-16.ucm +++ b/ext/Encode/Encode/8859-16.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-16.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-16.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-16 -o Encode/iso8859-16.ucm Encode/iso8859-16.enc "iso-8859-16" diff --git a/ext/Encode/Encode/8859-2.ucm b/ext/Encode/Encode/8859-2.ucm index 84e764f..eeb8ee3 100644 --- a/ext/Encode/Encode/8859-2.ucm +++ b/ext/Encode/Encode/8859-2.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-2.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-2.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-2 -o Encode/iso8859-2.ucm Encode/iso8859-2.enc "iso-8859-2" diff --git a/ext/Encode/Encode/8859-3.ucm b/ext/Encode/Encode/8859-3.ucm index 8a023c7..1c2e80f 100644 --- a/ext/Encode/Encode/8859-3.ucm +++ b/ext/Encode/Encode/8859-3.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-3.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-3.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-3 -o Encode/iso8859-3.ucm Encode/iso8859-3.enc "iso-8859-3" diff --git a/ext/Encode/Encode/8859-4.ucm b/ext/Encode/Encode/8859-4.ucm index 27559c9..66c2b83 100644 --- a/ext/Encode/Encode/8859-4.ucm +++ b/ext/Encode/Encode/8859-4.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-4.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-4.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-4 -o Encode/iso8859-4.ucm Encode/iso8859-4.enc "iso-8859-4" diff --git a/ext/Encode/Encode/8859-5.ucm b/ext/Encode/Encode/8859-5.ucm index fee8680..c3b9898 100644 --- a/ext/Encode/Encode/8859-5.ucm +++ b/ext/Encode/Encode/8859-5.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-5.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-5.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-5 -o Encode/iso8859-5.ucm Encode/iso8859-5.enc "iso-8859-5" diff --git a/ext/Encode/Encode/8859-6.ucm b/ext/Encode/Encode/8859-6.ucm index dd2eee1..0a970cd 100644 --- a/ext/Encode/Encode/8859-6.ucm +++ b/ext/Encode/Encode/8859-6.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-6.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-6.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-6 -o Encode/iso8859-6.ucm Encode/iso8859-6.enc "iso-8859-6" diff --git a/ext/Encode/Encode/8859-7.ucm b/ext/Encode/Encode/8859-7.ucm index 6537940..f92a11a 100644 --- a/ext/Encode/Encode/8859-7.ucm +++ b/ext/Encode/Encode/8859-7.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-7.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-7.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-7 -o Encode/iso8859-7.ucm Encode/iso8859-7.enc "iso-8859-7" diff --git a/ext/Encode/Encode/8859-8.ucm b/ext/Encode/Encode/8859-8.ucm index 837ede2..b29179a 100644 --- a/ext/Encode/Encode/8859-8.ucm +++ b/ext/Encode/Encode/8859-8.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-8.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-8.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-8 -o Encode/iso8859-8.ucm Encode/iso8859-8.enc "iso-8859-8" diff --git a/ext/Encode/Encode/8859-9.ucm b/ext/Encode/Encode/8859-9.ucm index 01428c2..c763763 100644 --- a/ext/Encode/Encode/8859-9.ucm +++ b/ext/Encode/Encode/8859-9.ucm @@ -1,5 +1,5 @@ # -# $Id: 8859-9.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp dankogai $ +# $Id: 8859-9.ucm,v 1.0 2002/03/28 23:26:24 dankogai Exp $ # # ./compile -n iso-8859-9 -o Encode/iso8859-9.ucm Encode/iso8859-9.enc "iso-8859-9" diff --git a/ext/Encode/Encode/ascii.ucm b/ext/Encode/Encode/ascii.ucm index b16e676..4a0d9d8 100644 --- a/ext/Encode/Encode/ascii.ucm +++ b/ext/Encode/Encode/ascii.ucm @@ -1,5 +1,5 @@ # -# $Id: ascii.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: ascii.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n US-ascii -o Encode/ascii.ucm Encode/ascii.enc "US-ascii" diff --git a/ext/Encode/Encode/big5-hkscs.ucm b/ext/Encode/Encode/big5-hkscs.ucm index 0d2be8e..0fd50ce 100644 --- a/ext/Encode/Encode/big5-hkscs.ucm +++ b/ext/Encode/Encode/big5-hkscs.ucm @@ -1,5 +1,5 @@ # -# $Id: big5-hkscs.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: big5-hkscs.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n big5-hkscs -o Encode/big5-hkscs.ucm Encode/big5-hkscs.enc "big5-hkscs" diff --git a/ext/Encode/Encode/big5.ucm b/ext/Encode/Encode/big5.ucm index 9f5a9f0..bea897b 100644 --- a/ext/Encode/Encode/big5.ucm +++ b/ext/Encode/Encode/big5.ucm @@ -1,5 +1,5 @@ # -# $Id: big5.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: big5.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n big5 -o Encode/big5.ucm Encode/big5.enc "big5" diff --git a/ext/Encode/Encode/cp1047.ucm b/ext/Encode/Encode/cp1047.ucm index 2a82e4a..649ee77 100644 --- a/ext/Encode/Encode/cp1047.ucm +++ b/ext/Encode/Encode/cp1047.ucm @@ -1,5 +1,5 @@ # -# $Id: cp1047.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: cp1047.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # compile -n cp1047 -o Encode/cp1047.ucm Encode/cp1047.enc "cp1047" diff --git a/ext/Encode/Encode/cp1250.ucm b/ext/Encode/Encode/cp1250.ucm index 5ec23d9..79453f3 100644 --- a/ext/Encode/Encode/cp1250.ucm +++ b/ext/Encode/Encode/cp1250.ucm @@ -1,5 +1,5 @@ # -# $Id: cp1250.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: cp1250.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n cp1250 -o Encode/cp1250.ucm Encode/cp1250.enc "cp1250" diff --git a/ext/Encode/Encode/cp37.ucm b/ext/Encode/Encode/cp37.ucm index 786d88e..a9a3dfa 100644 --- a/ext/Encode/Encode/cp37.ucm +++ b/ext/Encode/Encode/cp37.ucm @@ -1,5 +1,5 @@ # -# $Id: cp37.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: cp37.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # compile -n cp37 -o Encode/cp37.ucm Encode/cp37.enc "cp37" diff --git a/ext/Encode/Encode/cp932.ucm b/ext/Encode/Encode/cp932.ucm index bd440c5..0669bef 100644 --- a/ext/Encode/Encode/cp932.ucm +++ b/ext/Encode/Encode/cp932.ucm @@ -1,5 +1,5 @@ # -# $Id: cp932.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: cp932.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n cp932 -o Encode/cp932.ucm Encode/cp932.enc "cp932" diff --git a/ext/Encode/Encode/cp936.ucm b/ext/Encode/Encode/cp936.ucm index d0ac899..81c1f8d 100644 --- a/ext/Encode/Encode/cp936.ucm +++ b/ext/Encode/Encode/cp936.ucm @@ -1,5 +1,5 @@ # -# $Id: cp936.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: cp936.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n cp936 -o Encode/cp936.ucm Encode/cp936.enc "cp936" diff --git a/ext/Encode/Encode/cp949.ucm b/ext/Encode/Encode/cp949.ucm index 6c31fd8..b2ce365 100644 --- a/ext/Encode/Encode/cp949.ucm +++ b/ext/Encode/Encode/cp949.ucm @@ -1,5 +1,5 @@ # -# $Id: cp949.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp dankogai $ +# $Id: cp949.ucm,v 1.0 2002/03/28 23:26:25 dankogai Exp $ # # ./compile -n cp949 -o Encode/cp949.ucm Encode/cp949.enc "cp949" diff --git a/ext/Encode/Encode/cp950.ucm b/ext/Encode/Encode/cp950.ucm index 3cb22e8..63798b8 100644 --- a/ext/Encode/Encode/cp950.ucm +++ b/ext/Encode/Encode/cp950.ucm @@ -1,5 +1,5 @@ # -# $Id: cp950.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: cp950.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ./compile -n cp950 -o Encode/cp950.ucm Encode/cp950.enc "cp950" diff --git a/ext/Encode/Encode/dingbats.ucm b/ext/Encode/Encode/dingbats.ucm index ad29af3..63df1c2 100644 --- a/ext/Encode/Encode/dingbats.ucm +++ b/ext/Encode/Encode/dingbats.ucm @@ -1,5 +1,5 @@ # -# $Id: dingbats.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: dingbats.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # "dingbats" 1 diff --git a/ext/Encode/Encode/euc-cn.ucm b/ext/Encode/Encode/euc-cn.ucm index 01a6a7b..a6e03fd 100644 --- a/ext/Encode/Encode/euc-cn.ucm +++ b/ext/Encode/Encode/euc-cn.ucm @@ -1,5 +1,5 @@ # -# $Id: euc-cn.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: euc-cn.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ./compile -n euc-cn -o Encode/euc-cn.ucm Encode/euc-cn.enc "euc-cn" diff --git a/ext/Encode/Encode/euc-jp.ucm b/ext/Encode/Encode/euc-jp.ucm index 222b9ac..e0fddcb 100644 --- a/ext/Encode/Encode/euc-jp.ucm +++ b/ext/Encode/Encode/euc-jp.ucm @@ -1,5 +1,5 @@ # -# $Id: euc-jp.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: euc-jp.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # compile -o Encode/euc-jp.ucm Encode/euc-jp.enc "euc-jp" diff --git a/ext/Encode/Encode/euc-kr.ucm b/ext/Encode/Encode/euc-kr.ucm index 6cd01ea..9c38a9b 100644 --- a/ext/Encode/Encode/euc-kr.ucm +++ b/ext/Encode/Encode/euc-kr.ucm @@ -1,5 +1,5 @@ # -# $Id: euc-kr.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: euc-kr.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ./compile -n euc-kr -o Encode/euc-kr.ucm Encode/euc-kr.enc "euc-kr" diff --git a/ext/Encode/Encode/gb12345.ucm b/ext/Encode/Encode/gb12345.ucm index 98c5666..9fe6e6d 100644 --- a/ext/Encode/Encode/gb12345.ucm +++ b/ext/Encode/Encode/gb12345.ucm @@ -1,5 +1,5 @@ # -# $Id: gb12345.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: gb12345.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ./compile -n gb12345 -o Encode/gb12345.ucm Encode/gb12345.enc # diff --git a/ext/Encode/Encode/gb2312.ucm b/ext/Encode/Encode/gb2312.ucm index 1cbb72e..d38ccac 100644 --- a/ext/Encode/Encode/gb2312.ucm +++ b/ext/Encode/Encode/gb2312.ucm @@ -1,5 +1,5 @@ # -# $Id: gb2312.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: gb2312.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ./compile -n gb2312 -o Encode/gb2312.ucm Encode/gb2312.enc # diff --git a/ext/Encode/Encode/gsm0338.ucm b/ext/Encode/Encode/gsm0338.ucm index dacbd37..f321fb7 100644 --- a/ext/Encode/Encode/gsm0338.ucm +++ b/ext/Encode/Encode/gsm0338.ucm @@ -1,5 +1,5 @@ # -# $Id: gsm0338.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: gsm0338.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ./compile -n gsm0338 -o Encode/gsm0338.ucm Encode/gsm0338.enc "gsm0338" diff --git a/ext/Encode/Encode/hp-roman8.ucm b/ext/Encode/Encode/hp-roman8.ucm index 821a25f..3897892 100644 --- a/ext/Encode/Encode/hp-roman8.ucm +++ b/ext/Encode/Encode/hp-roman8.ucm @@ -1,7 +1,7 @@ # -# $Id: hp-roman8.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: hp-roman8.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # -# Written $Id: hp-roman8.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# Written $Id: hp-roman8.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # ./compile -n roman8 -o Encode/roman8.ucm Encode/roman8.enc "hp-roman8" 1 diff --git a/ext/Encode/Encode/ibm-1250.ucm b/ext/Encode/Encode/ibm-1250.ucm index 645d36a..773c5fa 100644 --- a/ext/Encode/Encode/ibm-1250.ucm +++ b/ext/Encode/Encode/ibm-1250.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1250.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: ibm-1250.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1251.ucm b/ext/Encode/Encode/ibm-1251.ucm index f833b7b..476a466 100644 --- a/ext/Encode/Encode/ibm-1251.ucm +++ b/ext/Encode/Encode/ibm-1251.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1251.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: ibm-1251.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1252.ucm b/ext/Encode/Encode/ibm-1252.ucm index b46da25..859989d 100644 --- a/ext/Encode/Encode/ibm-1252.ucm +++ b/ext/Encode/Encode/ibm-1252.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1252.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: ibm-1252.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1253.ucm b/ext/Encode/Encode/ibm-1253.ucm index a88b1f0..500b704 100644 --- a/ext/Encode/Encode/ibm-1253.ucm +++ b/ext/Encode/Encode/ibm-1253.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1253.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp dankogai $ +# $Id: ibm-1253.ucm,v 1.0 2002/03/28 23:26:26 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1254.ucm b/ext/Encode/Encode/ibm-1254.ucm index bd6efbd..ff6edbe 100644 --- a/ext/Encode/Encode/ibm-1254.ucm +++ b/ext/Encode/Encode/ibm-1254.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1254.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ibm-1254.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1255.ucm b/ext/Encode/Encode/ibm-1255.ucm index 04ca720..61a5c67 100644 --- a/ext/Encode/Encode/ibm-1255.ucm +++ b/ext/Encode/Encode/ibm-1255.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1255.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ibm-1255.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1256.ucm b/ext/Encode/Encode/ibm-1256.ucm index b9fe72b..cc1fd7a 100644 --- a/ext/Encode/Encode/ibm-1256.ucm +++ b/ext/Encode/Encode/ibm-1256.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1256.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ibm-1256.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1257.ucm b/ext/Encode/Encode/ibm-1257.ucm index 7aa43d6..1867b7d 100644 --- a/ext/Encode/Encode/ibm-1257.ucm +++ b/ext/Encode/Encode/ibm-1257.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1257.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ibm-1257.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ibm-1258.ucm b/ext/Encode/Encode/ibm-1258.ucm index 1c978f7..fa5363c 100644 --- a/ext/Encode/Encode/ibm-1258.ucm +++ b/ext/Encode/Encode/ibm-1258.ucm @@ -1,5 +1,5 @@ # -# $Id: ibm-1258.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ibm-1258.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ******************************************************************************* # * diff --git a/ext/Encode/Encode/ir-165.ucm b/ext/Encode/Encode/ir-165.ucm index 48ac79d..50aeb65 100644 --- a/ext/Encode/Encode/ir-165.ucm +++ b/ext/Encode/Encode/ir-165.ucm @@ -1,5 +1,5 @@ # -# $Id: ir-165.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ir-165.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n iso-ir-165 -o Encode/iso-ir-165.ucm Encode/iso-ir-165.enc "iso-ir-165" diff --git a/ext/Encode/Encode/jis0201.ucm b/ext/Encode/Encode/jis0201.ucm index 0407d16..979b1c8 100644 --- a/ext/Encode/Encode/jis0201.ucm +++ b/ext/Encode/Encode/jis0201.ucm @@ -1,5 +1,5 @@ # -# $Id: jis0201.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: jis0201.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # compile -o Encode/jis0201.ucm Encode/jis0201.enc "jis0201" diff --git a/ext/Encode/Encode/johab.ucm b/ext/Encode/Encode/johab.ucm index bf80769..6d034ce 100644 --- a/ext/Encode/Encode/johab.ucm +++ b/ext/Encode/Encode/johab.ucm @@ -1,5 +1,5 @@ # -# $Id: johab.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: johab.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -o johab.ucm johab.enc "johab" diff --git a/ext/Encode/Encode/koi8-f.ucm b/ext/Encode/Encode/koi8-f.ucm index 9fcd543..4eee360 100644 --- a/ext/Encode/Encode/koi8-f.ucm +++ b/ext/Encode/Encode/koi8-f.ucm @@ -1,7 +1,7 @@ # -# $Id: koi8-f.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: koi8-f.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # -# Written $Id: koi8-f.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# Written $Id: koi8-f.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # ./compile -n koi8-f -o Encode/koi8-f.ucm Encode/koi8-f.enc "koi8-f" 1 diff --git a/ext/Encode/Encode/koi8-r.ucm b/ext/Encode/Encode/koi8-r.ucm index dda1c1f..11a2bf7 100644 --- a/ext/Encode/Encode/koi8-r.ucm +++ b/ext/Encode/Encode/koi8-r.ucm @@ -1,5 +1,5 @@ # -# $Id: koi8-r.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: koi8-r.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n koi8-r -o Encode/koi8-r.ucm Encode/koi8-r.enc "koi8-r" diff --git a/ext/Encode/Encode/koi8-u.ucm b/ext/Encode/Encode/koi8-u.ucm index 625b9cb..7c022d6 100644 --- a/ext/Encode/Encode/koi8-u.ucm +++ b/ext/Encode/Encode/koi8-u.ucm @@ -1,7 +1,7 @@ # -# $Id: koi8-u.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: koi8-u.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # -# Written $Id: koi8-u.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# Written $Id: koi8-u.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # ./compile -n koi8-u -o Encode/koi8-u.ucm Encode/koi8-u.enc "koi8-u" 1 diff --git a/ext/Encode/Encode/ksc5601.ucm b/ext/Encode/Encode/ksc5601.ucm index a3da0f2..db94cdf 100644 --- a/ext/Encode/Encode/ksc5601.ucm +++ b/ext/Encode/Encode/ksc5601.ucm @@ -1,5 +1,5 @@ # -# $Id: ksc5601.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: ksc5601.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n ksc5601 -o Encode/ksc5601.ucm Encode/ksc5601.enc "ksc5601-raw" diff --git a/ext/Encode/Encode/macCentEuro.ucm b/ext/Encode/Encode/macCentEuro.ucm index 9268899..09c7c85 100644 --- a/ext/Encode/Encode/macCentEuro.ucm +++ b/ext/Encode/Encode/macCentEuro.ucm @@ -1,5 +1,5 @@ # -# $Id: macCentEuro.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macCentEuro.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macCentEuro -o Encode/macCentEuro.ucm Encode/macCentEuro.enc "MacCentralEurRoman" diff --git a/ext/Encode/Encode/macCroatian.ucm b/ext/Encode/Encode/macCroatian.ucm index ccdfdf2..8dfa69d 100644 --- a/ext/Encode/Encode/macCroatian.ucm +++ b/ext/Encode/Encode/macCroatian.ucm @@ -1,5 +1,5 @@ # -# $Id: macCroatian.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macCroatian.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macCroatian -o Encode/macCroatian.ucm Encode/macCroatian.enc "MacCroatian" diff --git a/ext/Encode/Encode/macCyrillic.ucm b/ext/Encode/Encode/macCyrillic.ucm index 45b5adb..4a4578c 100644 --- a/ext/Encode/Encode/macCyrillic.ucm +++ b/ext/Encode/Encode/macCyrillic.ucm @@ -1,5 +1,5 @@ # -# $Id: macCyrillic.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macCyrillic.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macCyrillic -o Encode/macCyrillic.ucm Encode/macCyrillic.enc "MacCyrillic" diff --git a/ext/Encode/Encode/macDingbats.ucm b/ext/Encode/Encode/macDingbats.ucm index 8a6893c..dfa5e91 100644 --- a/ext/Encode/Encode/macDingbats.ucm +++ b/ext/Encode/Encode/macDingbats.ucm @@ -1,5 +1,5 @@ # -# $Id: macDingbats.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macDingbats.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macDingbats -o Encode/macDingbats.ucm Encode/macDingbats.enc "MacDingbats" diff --git a/ext/Encode/Encode/macGreek.ucm b/ext/Encode/Encode/macGreek.ucm index b8c998f..995a52b 100644 --- a/ext/Encode/Encode/macGreek.ucm +++ b/ext/Encode/Encode/macGreek.ucm @@ -1,5 +1,5 @@ # -# $Id: macGreek.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macGreek.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macGreek -o Encode/macGreek.ucm Encode/macGreek.enc "MacGreek" diff --git a/ext/Encode/Encode/macIceland.ucm b/ext/Encode/Encode/macIceland.ucm index 022022e..4c744a5 100644 --- a/ext/Encode/Encode/macIceland.ucm +++ b/ext/Encode/Encode/macIceland.ucm @@ -1,5 +1,5 @@ # -# $Id: macIceland.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macIceland.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macIceland -o Encode/macIceland.ucm Encode/macIceland.enc "MacIcelandic" diff --git a/ext/Encode/Encode/macJapan.ucm b/ext/Encode/Encode/macJapan.ucm index 7610dee..07cf9a1 100644 --- a/ext/Encode/Encode/macJapan.ucm +++ b/ext/Encode/Encode/macJapan.ucm @@ -1,5 +1,5 @@ # -# $Id: macJapan.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macJapan.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macJapan -o Encode/macJapan.ucm Encode/macJapan.enc "MacJapanese" diff --git a/ext/Encode/Encode/macRoman.ucm b/ext/Encode/Encode/macRoman.ucm index 500c9c2..1fabc5a 100644 --- a/ext/Encode/Encode/macRoman.ucm +++ b/ext/Encode/Encode/macRoman.ucm @@ -1,5 +1,5 @@ # -# $Id: macRoman.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macRoman.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macRoman -o Encode/macRoman.ucm Encode/macRoman.enc "MacRoman" diff --git a/ext/Encode/Encode/macRumanian.ucm b/ext/Encode/Encode/macRumanian.ucm index d520533..360d55c 100644 --- a/ext/Encode/Encode/macRumanian.ucm +++ b/ext/Encode/Encode/macRumanian.ucm @@ -1,5 +1,5 @@ # -# $Id: macRumanian.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macRumanian.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macRumanian -o Encode/macRumanian.ucm Encode/macRumanian.enc "MacRumanian" diff --git a/ext/Encode/Encode/macSami.ucm b/ext/Encode/Encode/macSami.ucm index 56b4528..aabb0a0 100644 --- a/ext/Encode/Encode/macSami.ucm +++ b/ext/Encode/Encode/macSami.ucm @@ -1,5 +1,5 @@ # -# $Id: macSami.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macSami.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macSami -o Encode/macSami.ucm Encode/macSami.enc "MacSami" diff --git a/ext/Encode/Encode/macThai.ucm b/ext/Encode/Encode/macThai.ucm index ca93850..0a7b6aa 100644 --- a/ext/Encode/Encode/macThai.ucm +++ b/ext/Encode/Encode/macThai.ucm @@ -1,5 +1,5 @@ # -# $Id: macThai.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macThai.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macThai -o Encode/macThai.ucm Encode/macThai.enc "MacThai" diff --git a/ext/Encode/Encode/macTurkish.ucm b/ext/Encode/Encode/macTurkish.ucm index 28e61b5..858d200 100644 --- a/ext/Encode/Encode/macTurkish.ucm +++ b/ext/Encode/Encode/macTurkish.ucm @@ -1,5 +1,5 @@ # -# $Id: macTurkish.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macTurkish.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macTurkish -o Encode/macTurkish.ucm Encode/macTurkish.enc "MacTurkish" diff --git a/ext/Encode/Encode/macUkraine.ucm b/ext/Encode/Encode/macUkraine.ucm index 0c7336a..c64f704 100644 --- a/ext/Encode/Encode/macUkraine.ucm +++ b/ext/Encode/Encode/macUkraine.ucm @@ -1,5 +1,5 @@ # -# $Id: macUkraine.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: macUkraine.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n macUkraine -o Encode/macUkraine.ucm Encode/macUkraine.enc "MacUkrainian" diff --git a/ext/Encode/Encode/nextstep.ucm b/ext/Encode/Encode/nextstep.ucm index 6be6963..6e25811 100644 --- a/ext/Encode/Encode/nextstep.ucm +++ b/ext/Encode/Encode/nextstep.ucm @@ -1,7 +1,7 @@ # -# $Id: nextstep.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: nextstep.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # -# Written $Id: nextstep.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# Written $Id: nextstep.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # ./compile -n nextstep -o Encode/nextstep.ucm Encode/nextstep.enc "nextstep" 1 diff --git a/ext/Encode/Encode/posix-bc.ucm b/ext/Encode/Encode/posix-bc.ucm index 77e7827..632af71 100644 --- a/ext/Encode/Encode/posix-bc.ucm +++ b/ext/Encode/Encode/posix-bc.ucm @@ -1,5 +1,5 @@ # -# $Id: posix-bc.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: posix-bc.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # compile -n posix-bc -o Encode/posix-bc.ucm Encode/posix-bc.enc "posix-bc" diff --git a/ext/Encode/Encode/shiftjis.ucm b/ext/Encode/Encode/shiftjis.ucm index 723e974..9aa2794 100644 --- a/ext/Encode/Encode/shiftjis.ucm +++ b/ext/Encode/Encode/shiftjis.ucm @@ -1,5 +1,5 @@ # -# $Id: shiftjis.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp dankogai $ +# $Id: shiftjis.ucm,v 1.0 2002/03/28 23:26:27 dankogai Exp $ # # ./compile -n shiftjis -o Encode/shiftjis.ucm Encode/shiftjis.enc "shiftjis" diff --git a/ext/Encode/Encode/symbol.ucm b/ext/Encode/Encode/symbol.ucm index 32c9dcd..a003d99 100644 --- a/ext/Encode/Encode/symbol.ucm +++ b/ext/Encode/Encode/symbol.ucm @@ -1,5 +1,5 @@ # -# $Id: symbol.ucm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# $Id: symbol.ucm,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # # compile -n symbol -o Encode/symbol.ucm Encode/symbol.enc "symbol" diff --git a/ext/Encode/Encode/viscii.ucm b/ext/Encode/Encode/viscii.ucm index c46c716..0f02f01 100644 --- a/ext/Encode/Encode/viscii.ucm +++ b/ext/Encode/Encode/viscii.ucm @@ -1,7 +1,7 @@ # -# $Id: viscii.ucm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# $Id: viscii.ucm,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # -# Written $Id: viscii.ucm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# Written $Id: viscii.ucm,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # ./compile -n viscii -o Encode/viscii.ucm Encode/viscii.enc "viscii" 1 diff --git a/ext/Encode/Makefile.PL b/ext/Encode/Makefile.PL index a01ff71..0f0ed78 100644 --- a/ext/Encode/Makefile.PL +++ b/ext/Encode/Makefile.PL @@ -9,11 +9,11 @@ my %tables = ] ); -my @exe_files = (); -my @more_exe_files = qw(bin/enc2xs bin/piconv); +my @exe_files = qw(bin/enc2xs); +my @more_exe_files = qw(bin/piconv); for my $arg (@ARGV){ - if ($arg eq "USE_SCRIPTS"){ + if ($arg eq "MORE_SCRIPTS"){ push @exe_files, @more_exe_files; } } diff --git a/ext/Encode/README b/ext/Encode/README index 0898984..590834a 100644 --- a/ext/Encode/README +++ b/ext/Encode/README @@ -22,11 +22,13 @@ To install this module type the following: To install scripts under bin/ directories also, - perl Makefile.PL USE_SCRIPTS + perl Makefile.PL MORE_SCRIPTS make make test make install +by default, only bin/enc2xs is installed. + DEPENDENCIES This module requires perl5.7.2 or later. diff --git a/ext/Encode/bin/enc2xs b/ext/Encode/bin/enc2xs index 1acb613..803c264 100644 --- a/ext/Encode/bin/enc2xs +++ b/ext/Encode/bin/enc2xs @@ -1,12 +1,16 @@ #!../../../perl -w BEGIN { - unshift @INC, qw(../../lib ../../../lib ../../../../lib); - $ENV{PATH} .= ';../..;../../..;../../../..' if $^O eq 'MSWin32'; + # fiddle with @INC iff I am a part of perl dist + if ($^X =~ m/\bminiperl$/o){ + warn "Fixing \@INC for perl core.\n"; + unshift @INC, qw(../../lib ../../../lib ../../../../lib); + $ENV{PATH} .= ';../..;../../..;../../../..' if $^O eq 'MSWin32'; + } } use strict; use Getopt::Std; my @orig_ARGV = @ARGV; -our $VERSION = do { my @r = (q$Revision: 1.0 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; +our $VERSION = do { my @r = (q$Revision: 1.1 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; # These may get re-ordered. @@ -1091,6 +1095,14 @@ The following files are created. My.pm - Encode Submodule t/My.t - test file +=item 1.1. + +If you want *.ucm installed together with the modules, do as follows; + + $ mkdir Encode + $ mv *.ucm Encode + $ enc2xs -M My Encode/*ucm + =item 2. Edit the files generated. You don't have to if you have no time AND no diff --git a/ext/Encode/bin/piconv b/ext/Encode/bin/piconv index ae250ba..c7f08ae 100644 --- a/ext/Encode/bin/piconv +++ b/ext/Encode/bin/piconv @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: piconv,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# $Id: piconv,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # use 5.7.3; use strict; diff --git a/ext/Encode/lib/Encode/CJKConstants.pm b/ext/Encode/lib/Encode/CJKConstants.pm index 5d6b893..4ddf2ae 100644 --- a/ext/Encode/lib/Encode/CJKConstants.pm +++ b/ext/Encode/lib/Encode/CJKConstants.pm @@ -1,12 +1,12 @@ # -# $Id: CJKConstants.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# $Id: CJKConstants.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # package Encode::CJKConstants; use strict; -our $RCSID = q$Id: CJKConstants.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $; +our $RCSID = q$Id: CJKConstants.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp $; our $VERSION = do { my @r = (q$Revision: 1.0 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; use Carp; diff --git a/ext/Encode/lib/Encode/JP/H2Z.pm b/ext/Encode/lib/Encode/JP/H2Z.pm index 435c15e..3a8ce4d 100644 --- a/ext/Encode/lib/Encode/JP/H2Z.pm +++ b/ext/Encode/lib/Encode/JP/H2Z.pm @@ -1,12 +1,12 @@ # -# $Id: H2Z.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $ +# $Id: H2Z.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp $ # package Encode::JP::H2Z; use strict; -our $RCSID = q$Id: H2Z.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp dankogai $; +our $RCSID = q$Id: H2Z.pm,v 1.0 2002/03/28 23:26:28 dankogai Exp $; our $VERSION = do { my @r = (q$Revision: 1.0 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; use Carp; diff --git a/ext/Encode/t/Aliases.t b/ext/Encode/t/Aliases.t index f58063a..e7033eb 100644 --- a/ext/Encode/t/Aliases.t +++ b/ext/Encode/t/Aliases.t @@ -1,8 +1,10 @@ #!../perl BEGIN { - if (! -d 'blib' and -d 't'){ chdir 't' }; - unshift @INC, '../lib'; + if ($ENV{'PERL_CORE'}){ + chdir 't'; + unshift @INC, '../lib'; + } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/CN.t b/ext/Encode/t/CN.t index 2e72a3f..749f913 100644 --- a/ext/Encode/t/CN.t +++ b/ext/Encode/t/CN.t @@ -1,6 +1,8 @@ BEGIN { - if (! -d 'blib' and -d 't'){ chdir 't' }; - unshift @INC, '../lib'; + if ($ENV{'PERL_CORE'}){ + chdir 't'; + unshift @INC, '../lib'; + } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/Encode.t b/ext/Encode/t/Encode.t index 4e396e1..fc71a91 100644 --- a/ext/Encode/t/Encode.t +++ b/ext/Encode/t/Encode.t @@ -1,6 +1,8 @@ BEGIN { - if (! -d 'blib' and -d 't'){ chdir 't' }; - unshift @INC, '../lib'; + if ($ENV{'PERL_CORE'}){ + chdir 't'; + unshift @INC, '../lib'; + } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/JP.t b/ext/Encode/t/JP.t index 457f204..c9b1dde 100644 --- a/ext/Encode/t/JP.t +++ b/ext/Encode/t/JP.t @@ -1,7 +1,8 @@ BEGIN { - if (! -d 'blib' and -d 't'){ chdir 't' }; - chdir 't' if -d 't' and $ENV{PWD} !~ m,/Encode[^/]*$,o; - unshift @INC, '../lib'; + if ($ENV{'PERL_CORE'}){ + chdir 't'; + unshift @INC, '../lib'; + } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/KR.t b/ext/Encode/t/KR.t index 429a583..fd1c503 100644 --- a/ext/Encode/t/KR.t +++ b/ext/Encode/t/KR.t @@ -1,7 +1,8 @@ BEGIN { - if (! -d 'blib' and -d 't'){ chdir 't' }; - chdir 't' if -d 't' and $ENV{PWD} !~ m,/Encode[^/]*$,o; - unshift @INC, '../lib'; + if ($ENV{'PERL_CORE'}){ + chdir 't'; + unshift @INC, '../lib'; + } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/t/TW.t b/ext/Encode/t/TW.t index 830eb86..a51017a 100644 --- a/ext/Encode/t/TW.t +++ b/ext/Encode/t/TW.t @@ -1,6 +1,8 @@ BEGIN { - if (! -d 'blib' and -d 't'){ chdir 't' }; - unshift @INC, '../lib'; + if ($ENV{'PERL_CORE'}){ + chdir 't'; + unshift @INC, '../lib'; + } require Config; import Config; if ($Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; diff --git a/ext/Encode/ucm2table b/ext/Encode/ucm2table index cbebb22..0496613 100644 --- a/ext/Encode/ucm2table +++ b/ext/Encode/ucm2table @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: ucm2table,v 1.0 2002/03/28 23:26:29 dankogai Exp dankogai $ +# $Id: ucm2table,v 1.0 2002/03/28 23:26:29 dankogai Exp $ # use 5.006;