1Locale::Maketext::LexicUosne:r:ACuotnot(r3i)buted Perl DLooccuamleen:t:aMtaikoentext::Lexicon::Auto(3)
2
3
4
6 Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext
7
9 package Hello::I18N;
10 use base 'Locale::Maketext';
11 use Locale::Maketext::Lexicon {
12 en => ['Auto'],
13 # ... other languages
14 };
15
17 This module builds a simple Lexicon hash that contains nothing but "(
18 '_AUTO' => 1)", which tells "Locale::Maketext" that no localizing is
19 needed -- just use the lookup key as the returned string.
20
21 It is especially useful if you're starting to prototype a program, and
22 do not want to deal with the localization files yet.
23
25 If the key to "->maketext" begins with a "_", "Locale::Maketext" will
26 still throw an exception. See "CONTROLLING LOOKUP FAILURE" in
27 Locale::Maketext for how to prevent it.
28
30 Locale::Maketext, Locale::Maketext::Lexicon
31
33 Audrey Tang <cpan@audreyt.org>
34
36 Copyright 2002, 2003, 2004, 2007 by Audrey Tang <cpan@audreyt.org>.
37
38 This software is released under the MIT license cited below.
39
40 The "MIT" License
41
42 Permission is hereby granted, free of charge, to any person obtaining a
43 copy of this software and associated documentation files (the "Soft‐
44 ware"), to deal in the Software without restriction, including without
45 limitation the rights to use, copy, modify, merge, publish, distribute,
46 sublicense, and/or sell copies of the Software, and to permit persons
47 to whom the Software is furnished to do so, subject to the following
48 conditions:
49
50 The above copyright notice and this permission notice shall be included
51 in all copies or substantial portions of the Software.
52
53 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
54 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER‐
55 CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
56 NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
57 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
58 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT‐
59 WARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60
61
62
63perl v5.8.8 2008-01-07Locale::Maketext::Lexicon::Auto(3)