1Locale::Maketext::LexicUosne:r:MCsognctarti(b3u)ted PerlLoDcoacluem:e:nMtaakteitoenxt::Lexicon::Msgcat(3)
2
3
4

NAME

6       Locale::Maketext::Lexicon::Msgcat - Msgcat catalog parser Maketext
7

SYNOPSIS

9           package Hello::I18N;
10           use base 'Locale::Maketext';
11           use Locale::Maketext::Lexicon {
12               en => ['Msgcat', 'en_US/hello.pl.m'],
13           };
14
15           package main;
16           my $lh = Hello::I18N->get_handle('en');
17           print $lh->maketext(1,2);   # set 1, msg 2
18           print $lh->maketext("1,2"); # same thing
19

DESCRIPTION

21       This module parses one or more Msgcat catalogs in plain text format,
22       and returns a Lexicon hash, which may be looked up either with a two-
23       argument form ("$set_id, $msg_id") or as a single string
24       ("$set_id,$msg_id").
25

NOTES

27       All special characters ("[", "]" and "~") in catalogs will be escaped
28       so they lose their magic meanings.  That means "->maketext" calls to
29       this lexicon will not take any additional arguments.
30

SEE ALSO

32       Locale::Maketext, Locale::Maketext::Lexicon
33

AUTHORS

35       Audrey Tang <cpan@audreyt.org>
36
38       Copyright 2002, 2003, 2004, 2007 by Audrey Tang <cpan@audreyt.org>.
39
40       This software is released under the MIT license cited below.
41
42   The "MIT" License
43       Permission is hereby granted, free of charge, to any person obtaining a
44       copy of this software and associated documentation files (the
45       "Software"), to deal in the Software without restriction, including
46       without limitation the rights to use, copy, modify, merge, publish,
47       distribute, sublicense, and/or sell copies of the Software, and to
48       permit persons to whom the Software is furnished to do so, subject to
49       the following conditions:
50
51       The above copyright notice and this permission notice shall be included
52       in all copies or substantial portions of the Software.
53
54       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
55       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
57       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
58       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
59       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
60       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
61
62
63
64perl v5.12.2                      2010-08-1L0ocale::Maketext::Lexicon::Msgcat(3)
Impressum