1Locale::Maketext::LexicUosne:r:TCioen(t3r)ibuted Perl DoLcoucmaelnet:a:tMiaoknetext::Lexicon::Tie(3)
2
3
4
6 Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Make‐
7 text
8
10 package Hello::I18N;
11 use base 'Locale::Maketext';
12 use Locale::Maketext::Lexicon {
13 en => [ Tie => [ DB_File => 'en.db' ] ],
14 };
15
17 This module lets you easily "tie" the %Lexicon hash to a database or
18 other data sources. It takes an array reference of arguments, and
19 passes them directly to "tie()".
20
21 Entries will then be fetched whenever it is used; this module does not
22 cache them.
23
25 Locale::Maketext, Locale::Maketext::Lexicon
26
28 Audrey Tang <cpan@audreyt.org>
29
31 Copyright 2002, 2003, 2004, 2007 by Audrey Tang <cpan@audreyt.org>.
32
33 This software is released under the MIT license cited below.
34
35 The "MIT" License
36
37 Permission is hereby granted, free of charge, to any person obtaining a
38 copy of this software and associated documentation files (the "Soft‐
39 ware"), to deal in the Software without restriction, including without
40 limitation the rights to use, copy, modify, merge, publish, distribute,
41 sublicense, and/or sell copies of the Software, and to permit persons
42 to whom the Software is furnished to do so, subject to the following
43 conditions:
44
45 The above copyright notice and this permission notice shall be included
46 in all copies or substantial portions of the Software.
47
48 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
49 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER‐
50 CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
51 NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
52 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
53 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFT‐
54 WARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
55
56
57
58perl v5.8.8 2008-01-07 Locale::Maketext::Lexicon::Tie(3)