diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-23 19:50:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-23 19:50:02 +0000 |
commit | 071db25d4bd6237e4ead7e44b9c1420448a117ff (patch) | |
tree | a150089b0a541831d71a182e6f31041f74d18f2f /ext/Encode/TW/TW.pm | |
parent | 3be065a1e9733344e98c8647d9690fa7c678b5c5 (diff) | |
download | perl-071db25d4bd6237e4ead7e44b9c1420448a117ff.tar.gz |
Upgrade to Encode 0.97, from Dan Kogai.
p4raw-id: //depot/perl@15446
Diffstat (limited to 'ext/Encode/TW/TW.pm')
-rw-r--r-- | ext/Encode/TW/TW.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/Encode/TW/TW.pm b/ext/Encode/TW/TW.pm index 58764ba24b..b44c8d2acb 100644 --- a/ext/Encode/TW/TW.pm +++ b/ext/Encode/TW/TW.pm @@ -1,5 +1,10 @@ package Encode::TW; -our $VERSION = do { my @r = (q$Revision: 0.96 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; +BEGIN { + if (ord("A") == 193) { + die "Encode::TW not supported on EBCDIC\n"; + } +} +our $VERSION = do { my @r = (q$Revision: 0.97 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; use Encode; use XSLoader; |