Scroll to navigation

Log::Report::Minimal::Domain(3pm) User Contributed Perl Documentation Log::Report::Minimal::Domain(3pm)

NAME

Log::Report::Minimal::Domain - administer one text-domain

SYNOPSIS

 use Log::Report::Minimal::Domain;
 my $domain = Log::Report::Minimal::Domain->new(name => $name);
 # normal usage
 use Log::Report::Optional;       # or Log::Report itself
 my $domain = textdomain $name;   # find config
 textdomain $name, %configure;    # set config, only once.

DESCRIPTION

Read Log::Report::Domain.

METHODS

Constructors

 -Option--Default
  name    <required>
    

Attributes

$obj->configure(%options)
 -Option--Default
  where   <required>
    
Specifies the location of the configuration. It is not allowed to configure a domain on more than one location.
$obj->isConfigured()
$obj->name()

Action

$obj->interpolate( $msgid, [$args] )
Interpolate the keys used in $msgid from the values in $args. This is handled by the formatter, by default a String::Print instance.

SEE ALSO

This module is part of Log-Report-Optional distribution version 1.07, built on January 15, 2021. Website: http://perl.overmeer.net/CPAN/

LICENSE

Copyrights 2013-2021 by [Mark Overmeer <mark@overmeer.net>]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/

2022-12-06 perl v5.36.0