Skip to content

Commit 3f2d927

Browse files
committed
minor POD fixes
1 parent 6a4e9a6 commit 3f2d927

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ interface to information about all unique Internet identifiers.
6363

6464
$rdap = Net::RDAP->new(%OPTIONS);
6565

66-
Constructor method, returns a new object. %OPTIONS is optional, but
66+
Constructor method, returns a new object. `%OPTIONS` is optional, but
6767
may contain any of the following options:
6868

69-
- `use_cache` - if true, copies of RDAP responses are stored on
70-
disk, and are updated if the copy on the server is more up-to-date.
69+
- `use_cache` - if set to a true value, copies of RDAP responses are
70+
stored on disk, and are updated if the copy on the server is more up-to-date.
7171
This behaviour is disabled by default and must be explicitly enabled.
7272
**Note:** this setting controls whether [Net::RDAP](https://metacpan.org/pod/Net%3A%3ARDAP) caches RDAP records;
7373
it doesn't control caching of IANA registries by [Net::RDAP::Registry](https://metacpan.org/pod/Net%3A%3ARDAP%3A%3ARegistry)
@@ -100,7 +100,7 @@ perform this encoding:
100100

101101
my $name = "espécime.com";
102102

103-
my $domain = $rdap->domain->(idn_to_ascii($name, 'UTF-8'));
103+
my $domain = $rdap->domain(idn_to_ascii($name, 'UTF-8'));
104104

105105
## IP Lookup
106106

lib/Net/RDAP.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ interface to information about all unique Internet identifiers.
9797
9898
$rdap = Net::RDAP->new(%OPTIONS);
9999
100-
Constructor method, returns a new object. %OPTIONS is optional, but
100+
Constructor method, returns a new object. C<%OPTIONS> is optional, but
101101
may contain any of the following options:
102102
103103
=over
104104
105-
=item * C<use_cache> - if true, copies of RDAP responses are stored on
106-
disk, and are updated if the copy on the server is more up-to-date.
105+
=item * C<use_cache> - if set to a true value, copies of RDAP responses are
106+
stored on disk, and are updated if the copy on the server is more up-to-date.
107107
This behaviour is disabled by default and must be explicitly enabled.
108108
B<Note:> this setting controls whether L<Net::RDAP> caches RDAP records;
109109
it doesn't control caching of IANA registries by L<Net::RDAP::Registry>
@@ -149,7 +149,7 @@ perform this encoding:
149149
150150
my $name = "espécime.com";
151151
152-
my $domain = $rdap->domain->(idn_to_ascii($name, 'UTF-8'));
152+
my $domain = $rdap->domain(idn_to_ascii($name, 'UTF-8'));
153153
154154
=cut
155155

0 commit comments

Comments
 (0)