/[suikacvs]/perl/lib/Encode/Table/tool/internal.pl
Suika

Contents of /perl/lib/Encode/Table/tool/internal.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Oct 5 01:34:55 2002 UTC (22 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +33 -1 lines
File MIME type: text/plain
2002-10-05  Nanashi-san

	* Table.pm: New module.
	(Commited by Wakaba <w@suika.fam.cx>.)

1 wakaba 1.2 =head1 NAME
2    
3     internal.pl --- Utilities to get information of internal code
4     (to generate dumped script).
5    
6     =head1 DESCRIPTION
7    
8     This library collects functions and constants of internal
9     coding system properties. Internal code allocation is
10     temporary so that (pre-dumped) source script should not
11     be embeded internal code related information (such as
12     code point of a character from ISO-IR) as far as possible.
13    
14     =cut
15    
16 wakaba 1.1 package internal;
17     use strict;
18     use 5.7.3;
19    
20     use vars qw/%cp_start/;
21    
22     %cp_start = (
23     jisx0208_1990 => 0xE9F6C0 + 94*94*79,
24     );
25    
26     sub cp_start (%) {
27     my %o = @_;
28     if ($o{charset_chars} == 94 && $o{charset_dimension} == 2
29     && length $o{charset_final_byte}) {
30     0xE9F6C0 + 94*94*(ord ($o{charset_final_byte})-0x30)
31     }
32     }
33    
34 wakaba 1.2 =head1 SEE ALSO
35    
36     Encode::Table, Encode::ISO2022, tbl2pm.pl
37    
38     =head1 AUTHOR
39    
40     Nanashi-san
41    
42     =head1 LICENSE
43    
44     Copyright 2002 AUTHOR
45    
46     This library is free software; you can redistribute it
47     and/or modify it under the same terms as Perl itself.
48    
49     =cut
50    
51     1; ## $Date: 2002/10/05 00:25:14 $
52 wakaba 1.1 ### internal.pl ends here

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24