1
package Locale::Maketext::Lexicon::Auto;
2
$Locale::Maketext::Lexicon::Auto::VERSION = '0.02';
8
Locale::Maketext::Lexicon::Auto - Auto fallback lexicon for Maketext
13
use base 'Locale::Maketext';
14
use Locale::Maketext::Lexicon {
21
This module builds a simple Lexicon hash that contains nothing but
22
C<( '_AUTO' =E<gt> 1)>, which tells C<Locale::Maketext> that no
23
localizing is needed -- just use the lookup key as the returned string.
25
It is especially useful if you're starting to prototype a program, and
26
do not want to deal with the localization files yet.
30
If the key to C<-E<gt>maketext> begins with a C<_>, C<Locale::Maketext>
31
will still throw an exception. See L<Locale::Maketext/CONTROLLING LOOKUP
32
FAILURE> for how to prevent it.
37
return { _AUTO => 1 };
44
L<Locale::Maketext>, L<Locale::Maketext::Lexicon>
48
Autrijus Tang E<lt>autrijus@autrijus.orgE<gt>
52
Copyright 2002, 2003, 2004 by Autrijus Tang E<lt>autrijus@autrijus.orgE<gt>.
54
This program is free software; you can redistribute it and/or
55
modify it under the same terms as Perl itself.
57
See L<http://www.perl.com/perl/misc/Artistic.html>