1Locale::Maketext::ExtraUcste:r:PCloungtirni:b:uPteeLrdolc(Pa3el)rel::DMoackuemteenxtta:t:iEoxntract::Plugin::Perl(3)
2
3
4
6 Locale::Maketext::Extract::Plugin::Perl - Perl format parser
7
9 version 1.00
10
12 $plugin = Locale::Maketext::Extract::Plugin::Perl->new(
13 $lexicon # A Locale::Maketext::Extract object
14 @file_types # Optionally specify a list of recognised file types
15 )
16
17 $plugin->extract($filename,$filecontents);
18
20 Extracts strings to localise (including HEREDOCS and concatenated
21 strings) from Perl code.
22
23 This Perl parser is very fast and very good, but not perfect - it does
24 make mistakes. The PPI parser (Locale::Maketext::Extract::Plugin::PPI)
25 is more accurate, but a lot slower, and so is not enabled by default.
26
28 perl
29
31 Valid localization function names are:
32
33 translate
34 maketext
35 gettext
36 l
37 loc
38 x
39 _
40 __
41
43 .pm
44 .pl
45 .cgi
46
48 xgettext.pl
49 for extracting translatable strings from common template systems
50 and perl source files.
51
52 Locale::Maketext::Lexicon
53 Locale::Maketext::Extract::Plugin::Base
54 Locale::Maketext::Extract::Plugin::PPI
55 Locale::Maketext::Extract::Plugin::FormFu
56 Locale::Maketext::Extract::Plugin::TT2
57 Locale::Maketext::Extract::Plugin::YAML
58 Locale::Maketext::Extract::Plugin::Mason
59 Locale::Maketext::Extract::Plugin::TextTemplate
60 Locale::Maketext::Extract::Plugin::Generic
61
63 Audrey Tang <cpan@audreyt.org>
64
66 Copyright 2002-2013 by Audrey Tang <cpan@audreyt.org>.
67
68 This software is released under the MIT license cited below.
69
70 The "MIT" License
71 Permission is hereby granted, free of charge, to any person obtaining a
72 copy of this software and associated documentation files (the
73 "Software"), to deal in the Software without restriction, including
74 without limitation the rights to use, copy, modify, merge, publish,
75 distribute, sublicense, and/or sell copies of the Software, and to
76 permit persons to whom the Software is furnished to do so, subject to
77 the following conditions:
78
79 The above copyright notice and this permission notice shall be included
80 in all copies or substantial portions of the Software.
81
82 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
83 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
84 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
85 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
86 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
87 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
88 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
89
91 · Clinton Gormley <drtech@cpan.org>
92
93 · Audrey Tang <cpan@audreyt.org>
94
96 This software is Copyright (c) 2014 by Audrey Tang.
97
98 This is free software, licensed under:
99
100 The MIT (X11) License
101
102
103
104perl v5.30.0 201L9o-c0a7l-e2:6:Maketext::Extract::Plugin::Perl(3)