1Locale::Maketext::ExtraUcste:r:PCloungtirni:b:uPteeLrdolc(Pa3el)rel::DMoackuemteenxtta:t:iEoxntract::Plugin::Perl(3)
2
3
4

NAME

6       Locale::Maketext::Extract::Plugin::Perl - Perl format parser
7

SYNOPSIS

9           $plugin = Locale::Maketext::Extract::Plugin::Perl->new(
10               $lexicon            # A Locale::Maketext::Extract object
11               @file_types         # Optionally specify a list of recognised file types
12           )
13
14           $plugin->extract($filename,$filecontents);
15

DESCRIPTION

17       Extracts strings to localise (including HEREDOCS and concatenated
18       strings) from Perl code.
19
20       This Perl parser is very fast and very good, but not perfect - it does
21       make mistakes. The PPI parser (Locale::Maketext::Extract::Plugin::PPI)
22       is more accurate, but a lot slower, and so is not enabled by default.
23

SHORT PLUGIN NAME

25           perl
26

VALID FORMATS

28       Valid localization function names are:
29
30       translate
31       maketext
32       gettext
33       loc
34       x
35       _
36       __
37

KNOWN FILE TYPES

39       .pm
40       .pl
41       .cgi
42

SEE ALSO

44       xgettext.pl
45           for extracting translatable strings from common template systems
46           and perl source files.
47
48       Locale::Maketext::Lexicon
49       Locale::Maketext::Extract::Plugin::Base
50       Locale::Maketext::Extract::Plugin::PPI
51       Locale::Maketext::Extract::Plugin::FormFu
52       Locale::Maketext::Extract::Plugin::TT2
53       Locale::Maketext::Extract::Plugin::YAML
54       Locale::Maketext::Extract::Plugin::Mason
55       Locale::Maketext::Extract::Plugin::TextTemplate
56       Locale::Maketext::Extract::Plugin::Generic
57

AUTHORS

59       Audrey Tang <cpan@audreyt.org>
60
62       Copyright 2002-2008 by Audrey Tang <cpan@audreyt.org>.
63
64       This software is released under the MIT license cited below.
65
66   The "MIT" License
67       Permission is hereby granted, free of charge, to any person obtaining a
68       copy of this software and associated documentation files (the
69       "Software"), to deal in the Software without restriction, including
70       without limitation the rights to use, copy, modify, merge, publish,
71       distribute, sublicense, and/or sell copies of the Software, and to
72       permit persons to whom the Software is furnished to do so, subject to
73       the following conditions:
74
75       The above copyright notice and this permission notice shall be included
76       in all copies or substantial portions of the Software.
77
78       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
79       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
80       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
81       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
82       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
83       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
84       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
85
86
87
88perl v5.12.2                      201L0o-c0a8l-e1:0:Maketext::Extract::Plugin::Perl(3)
Impressum