|
Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext |
Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext
package Hello::L10N;
use base 'Locale::Maketext';
use Locale::Maketext::Lexicon {
en => ['Tie' => ['DB_File', 'en.db']],
};
This module lets you easily tie the %Lexicon hash to a database
or other data sources. It takes an array reference of arguments, and
passes them directly to tie().
Entries will then be fetched whenever it is used; this module does not cache them.
the Locale::Maketext manpage, the Locale::Maketext::Lexicon manpage
Autrijus Tang <autrijus@autrijus.org>
Copyright 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
|
Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext |