/usr/share/perl5/Mail/ListDetector/List.pm is in libmail-listdetector-perl 1.03+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | package Mail::ListDetector::List;
use strict;
sub new {
my $proto = shift;
my $data = shift;
my $class = ref($proto) || $proto;
my $self = {};
$self->{'data'} = $data;
bless ($self, $class);
return $self;
}
sub listname {
my $self = shift;
my $name = shift;
$self->{'data'}->{'listname'} = $name if defined $name;
return $self->{'data'}->{'listname'};
}
sub posting_address {
my $self = shift;
my $posting_address = shift;
$self->{'data'}->{'posting_address'} = $posting_address if defined $posting_address;
return $self->{'data'}->{'posting_address'};
}
sub listsoftware {
my $self = shift;
my $listsoftware = shift;
$self->{'data'}->{'listsoftware'} = $listsoftware if defined $listsoftware;
return $self->{'data'}->{'listsoftware'};
}
1;
__END__
=pod
=head1 NAME
Mail::ListDetector::List - an object representing a mailing list
=head1 SYNOPSIS
use Mail::ListDetector::List;
=head1 DESCRIPTION
This object provides a representation of the information extracted
about a mailing list. It should not be instantiated directly by anything
outside the Mail::ListDetector package.
=head1 METHODS
=head2 new
Creates a new List object.
=head2 listname
This method gets or sets the name of the mailing list. The name to
set is an optional argument.
=head2 posting_address
This method gets or sets the posting address of the mailing list.
The posting address to set is an optional argument.
=head2 listsoftware
This method gets or sets the mailing list software name. The name
to set is an optional argument.
=head1 BUGS
No known bugs.
=head1 AUTHOR
Michael Stevens - michael@etla.org.
=cut
|