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->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, MSG, [MSG_PLURAL] )
See store in Log::Report::Extract.
$obj->write( [DOMAIN] )
See write in Log::Report::Extract.