METHODS

Constructors

$class->new( %options )
Option Defined in Default

charset

Log::Report::Extract

'utf-8'

domain

<required>

lexicon

Log::Report::Extract

<required>

pattern

<undef>

charset => STRING
domain => DOMAIN
There is no syntax for specifying domains in templates (yet), so you must be explicit about the collection we are making now.
lexicon => DIRECTORY
pattern => PREDEFINED|CODE
See the DETAILS section below for a detailed explenation.

Accessors

$obj->charset
See charset in Log::Report::Extract.
$obj->domain
$obj->domains
See domains in Log::Report::Extract.
$obj->index
See index in Log::Report::Extract.
$obj->pattern
$obj->pots( $domain )
See pots in Log::Report::Extract.

Processors

$obj->cleanup( %options )
See cleanup in Log::Report::Extract.
$obj->process( $filename, %options )

Update the domains mentioned in the $filename. All textdomains defined in the file will get updated automatically, but not written before all files where processed.

Option Default

charset

'utf-8'

pattern

<from new(pattern)>

charset => STRING
The character encoding used in this template file.
pattern => PREDEFINED|CODE
Read the DETAILS section about this.
$obj->showStats( [$domains] )
See showStats in Log::Report::Extract.
$obj->store( $domain, $filename, $linenr, $context, $msg, [$msg_plural] )
See store in Log::Report::Extract.
$obj->write( [$domain] )
See write in Log::Report::Extract.