Locale::Maketext::Extract::Plugin::Perl(3pm)

Locale::Maketext::Extract::Plugin::Perl3pm

Perl format parser

Usage

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

Version

version 1.00

Overview

Extracts strings to localise (including HEREDOCS and concatenated strings) from Perl code.

This Perl parser is very fast and very good, but not perfect - it does make mistakes. The PPI parser (Locale::Maketext::Extract::Plugin::PPI) is more accurate, but a lot slower, and so is not enabled by default.

Short plugin name

    perl

Valid formats

Valid localization function names are:

translate
maketext
gettext
l
loc
x
_
__

Known file types

.pm
.pl
.cgi

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8–10
  4. 11
  5. 12–13
  6. Arch

Authors

Audrey Tang <[email protected]>

Authors

•

Clinton Gormley <[email protected]>

•

Audrey Tang <[email protected]>

From perl-locale-maketext-lexicon 1.00-5 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.