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 version 1.00
11
13 package Hello::I18N;
14 use base 'Locale::Maketext';
15 use Locale::Maketext::Lexicon {
16 en => [ Tie => [ DB_File => 'en.db' ] ],
17 };
18
20 This module lets you easily "tie" the %Lexicon hash to a database or
21 other data sources. It takes an array reference of arguments, and
22 passes them directly to "tie()".
23
24 Entries will then be fetched whenever it is used; this module does not
25 cache them.
26
28 Locale::Maketext, Locale::Maketext::Lexicon
29
31 Audrey Tang <cpan@audreyt.org>
32
34 Copyright 2002-2013 by Audrey Tang <cpan@audreyt.org>.
35
36 This software is released under the MIT license cited below.
37
38 The "MIT" License
39 Permission is hereby granted, free of charge, to any person obtaining a
40 copy of this software and associated documentation files (the
41 "Software"), to deal in the Software without restriction, including
42 without limitation the rights to use, copy, modify, merge, publish,
43 distribute, sublicense, and/or sell copies of the Software, and to
44 permit persons to whom the Software is furnished to do so, subject to
45 the following conditions:
46
47 The above copyright notice and this permission notice shall be included
48 in all copies or substantial portions of the Software.
49
50 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
51 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
52 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
53 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
54 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
55 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
56 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
57
59 • Clinton Gormley <drtech@cpan.org>
60
61 • Audrey Tang <cpan@audreyt.org>
62
64 This software is Copyright (c) 2014 by Audrey Tang.
65
66 This is free software, licensed under:
67
68 The MIT (X11) License
69
70
71
72perl v5.36.0 2022-07-22 Locale::Maketext::Lexicon::Tie(3)