logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

       Read Log::Report::Domain.

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/

perl v5.36.0                                       2022-12-06                  Log::Report::Minimal::Domain(3pm)

Methods

Constructors
       Log::Report::Minimal::Domain->new(%options)
            -Option--Default
             name    <required>

           name => STRING

   Attributes
       $obj->configure(%options)
            -Option--Default
             where   <required>

           where => ARRAY
             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.

Name

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

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/

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.

See Also