Log::R...Domain(3pm)

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to Log::R...Domain(3pm) β€” a lil' User Contributed Perl Documentation moment πŸ’–

Log::Report::Minimal::Domain β€” administer one text-domain πŸ‘‘


✨ SYNOPSIS ✨

like, here's the whole vibe, fr fr:

  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. that's the whole thing, no cap πŸ’…


πŸ’… METHODS πŸ’…

🌸 Constructors 🌸

$class->new(%options)

-Option--Default
 name    <required>
  • name => STRING β€” the name of the textdomain, bestie!! it's used in its invocation, but also as (part of) the translation file names, so please keep it simple and short πŸ™ β€” it's giving "short and sweet," periodt.

example: textdomain name choice ✨

a good choice is to use Perl's distribution name for the domain name. for instance, the domain name for this module would be set this way:

  use Log::Report 'log-report-optional';
  use Log::Report 'log-report-opt';

πŸ‘‘ Attributes πŸ‘‘

$obj->configure(%options)

-Option--Default
 where   <required>
  • where => ARRAY β€” Specifies the location of the configuration. okay so heads up: it is not allowed to configure a domain on more than one location. one location only, boo. no double-dipping 😭

$obj->isConfigured()

$obj->name()


πŸ’œ Translating πŸ’œ

$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.


🌈 DIAGNOSTICS 🌈

  • Error: illegal formatter `$name' at $fn line $line β€” Cast by configure() πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

This module is part of Log-Report-Optional version 1.08, built on September 08, 2025. Website: http://perl.overmeer.net/CPAN/ 🌐


⭐ LICENSE ⭐

For contributors see file ChangeLog. πŸ“

This software is copyright (c) 2013-2025 by Mark Overmeer. 🫢

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πŸ’–


and that's the whole page, bestie!! 🌸 mwah πŸ’‹ this iconic lil' number was served up by perl v5.40.1, dated 2025-10-04, and yeah it's the Log::R...Domain(3pm) page β€” go slay ur text-domains, ily πŸŽ€βœ¨

πŸ“¦ where this page comes from