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
7 Maketext
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 Permission is hereby granted, free of charge, to any person obtaining a
37 copy of this software and associated documentation files (the
38 "Software"), to deal in the Software without restriction, including
39 without limitation the rights to use, copy, modify, merge, publish,
40 distribute, sublicense, and/or sell copies of the Software, and to
41 permit persons to whom the Software is furnished to do so, subject to
42 the following conditions:
43
44 The above copyright notice and this permission notice shall be included
45 in all copies or substantial portions of the Software.
46
47 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
48 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
49 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
50 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
51 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
52 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
53 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
54
55
56
57perl v5.12.2 2010-08-10 Locale::Maketext::Lexicon::Tie(3)