1Locale::Codes::LangFam(U3s)er Contributed Perl DocumentatLioocnale::Codes::LangFam(3)
2
3
4
6 Locale::Codes::LangFam - module for dealing with langfam code sets
7
9 use Locale::Codes::LangFam;
10
11 $name = code2langfam(CODE);
12 $code = langfam2code(NAME);
13
14 @codes = all_langfam_codes();
15 @names = all_langfam_names();
16
18 This module provides access to langfam code sets.
19
20 Please refer to the Locale::Codes::Types document for a description of
21 the code sets available.
22
23 Most of the routines take an optional additional argument which
24 specifies the code set to use. The code set can be specified using the
25 name of a code set, or the perl constant specified in the above
26 document. If not specified, the default code set will be used.
27
29 All routines in this module call the appropriate method in the
30 Locale::Codes module, using an object of type: langfam Please refer to
31 the documentation of the Locale::Codes module for details about each
32 function.
33
34 The following functions are exported automatically:
35
36 code2langfam(CODE [,CODESET] [,'retired'])
37 See code2name in Locale::Codes
38
39 langfam2code(NAME [,CODESET] [,'retired'])
40 See name2code in Locale::Codes
41
42 langfam_code2code(CODE ,CODESET ,CODESET2)
43 See code2code in Locale::Codes
44
45 all_langfam_codes([CODESET] [,'retired'])
46 See all_codes in Locale::Codes
47
48 all_langfam_names([CODESET] [,'retired'])
49 See all_names in Locale::Codes
50
51 The following functions are not exported and must be called fully
52 qualified with the package name:
53
54 Locale::Codes::Langfam::show_errors(FLAG)
55 By default, invalid input will produce empty results, but no
56 errors. By passing in a non-zero value of FLAG, errors will be
57 produced.
58
59 See show_errors in Locale::Codes but note that the default for the
60 non-OO modules are to NOT produce errors.
61
62 Locale::Codes::Langfam::rename_langfam(CODE ,NEW_NAME [,CODESET])
63 See rename_code in Locale::Codes
64
65 Locale::Codes::Langfam::add_langfam(CODE ,NAME [,CODESET])
66 See add_code in Locale::Codes
67
68 Locale::Codes::Langfam::delete_langfam(CODE [,CODESET])
69 See delete_code in Locale::Codes
70
71 Locale::Codes::Langfam::add_langfam_alias(NAME ,NEW_NAME)
72 See add_alias in Locale::Codes
73
74 Locale::Codes::Langfam::delete_langfam_alias(NAME)
75 See delete_alias in Locale::Codes
76
77 Locale::Codes::Langfam::rename_langfam_code(CODE ,NEW_CODE [,CODESET])
78 See replace_code in Locale::Codes
79
80 Locale::Codes::Langfam::add_langfam_code_alias(CODE ,NEW_CODE
81 [,CODESET])
82 See add_code_alias in Locale::Codes
83
84 Locale::Codes::Langfam::delete_langfam_code_alias(CODE [,CODESET])
85 See delete_code_alias in Locale::Codes
86
88 Locale::Codes
89 The Locale-Codes distribution.
90
92 See Locale::Codes for full author history.
93
94 Currently maintained by Sullivan Beck (sbeck@cpan.org).
95
97 Copyright (c) 2011-2020 Sullivan Beck
98
99 This module is free software; you can redistribute it and/or modify it
100 under the same terms as Perl itself.
101
102
103
104perl v5.30.1 2020-03-04 Locale::Codes::LangFam(3)