Skip to content

Commit

Permalink
fix(lib): whitespace fixes for POD
Browse files Browse the repository at this point in the history
fix(domain-sift): style (lists should be in parens)
  • Loading branch information
maybebyte committed Aug 26, 2023
1 parent c12345f commit 9a41a7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/domain-sift
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ EOT
}

if ( !@ARGV ) {
unveil_or_die map { $ARG, 'r' } @INC;
unveil_or_die map { ( $ARG, 'r' ) } @INC;
}
pledge_or_die qw(rpath);

Expand Down
4 changes: 2 additions & 2 deletions lib/Domain/Sift/Manipulate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Manipulate domains.
my $sift_manipulate = Domain::Sift::Manipulate->new();
my %domains = ( 'example.com', 'subdomain.example.com' );
# remove subdomain.example.com since *.example.com would match it
# remove subdomain.example.com since *.example.com would match it
$sift_manipulate->reduce_domains(\%domains);
=head1 SUBROUTINES/METHODS
Expand All @@ -48,7 +48,7 @@ sub new ($class) {

=head2 reduce_domains
my $redundant_domains = $sift_manipulate->reduce_domains(\%example_domains);
my $redundant_domains = $sift_manipulate->reduce_domains(\%example_domains);
Receives a reference to a hash of domain names and identifies redundant
domains. If a domain and a subdomain are both keys in the hash, the
Expand Down
4 changes: 2 additions & 2 deletions lib/Domain/Sift/Match.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Domain::Sift::Match - tools that match domains inside strings
=head1 SYNOPSIS
C<Domain::Sift::Match> offers a set of methods for matching domains.
Domain::Sift::Match offers a set of methods for matching domains.
use Domain::Sift::Match;
Expand Down Expand Up @@ -133,7 +133,7 @@ sub contains_domain ( $self, $example_domain ) {

=head2 extract_domain
my $extracted_domain = $sift_match->extract_domain($example_line);
my $extracted_domain = $sift_match->extract_domain($example_line);
Extracts and returns a domain from a given line of text, if present. It
ignores comments and blank lines and skips lines containing certain IP
Expand Down

0 comments on commit 9a41a7b

Please sign in to comment.