logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext

Authors

       •   Clinton Gormley <drtech@cpan.org>

       •   Audrey Tang <cpan@audreyt.org>

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.

Name

       Locale::Maketext::Lexicon::Tie - Use tied hashes as lexicons for Maketext

See Also

       Locale::Maketext, Locale::Maketext::Lexicon

Synopsis

           package Hello::I18N;
           use base 'Locale::Maketext';
           use Locale::Maketext::Lexicon {
               en => [ Tie => [ DB_File => 'en.db' ] ],
           };

Version

       version 1.00

See Also