File: Domain.pod

package info (click to toggle)
liblog-report-optional-perl 1.07-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 140 kB
  • sloc: perl: 483; makefile: 2
file content (88 lines) | stat: -rw-r--r-- 1,615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
=encoding utf8

=head1 NAME

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

=head1 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.

=head1 DESCRIPTION

Read L<Log::Report::Domain>.

=head1 METHODS

=head2 Constructors

=over 4

=item Log::Report::Minimal::Domain-E<gt>B<new>(%options)

 -Option--Default
  name    <required>

=over 2

=item name => STRING

=back

=back

=head2 Attributes

=over 4

=item $obj-E<gt>B<configure>(%options)

 -Option--Default
  where   <required>

=over 2

=item where => ARRAY

Specifies the location of the configuration.  It is not allowed to
configure a domain on more than one location.

=back

=item $obj-E<gt>B<isConfigured>()

=item $obj-E<gt>B<name>()

=back

=head2 Action

=over 4

=item $obj-E<gt>B<interpolate>( $msgid, [$args] )

Interpolate the keys used in C<$msgid> from the values in C<$args>.
This is handled by the formatter, by default a L<String::Print|String::Print>
instance.

=back

=head1 SEE ALSO

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

=head1 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 F<http://dev.perl.org/licenses/>