NAME
Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext
SYNOPSIS
package Hello::L10N;
use base 'Locale::Maketext';
use Locale::Maketext::Lexicon {
en => ['Tie' => ['DB_File', 'en.db']],
};
DESCRIPTION
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.
SEE ALSO
Locale::Maketext, Locale::Maketext::Lexicon
AUTHORS
Autrijus Tang <autrijus@autrijus.org>
COPYRIGHT
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.