line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::LMLM::Types::Egroups; |
2
|
|
|
|
|
|
|
$Mail::LMLM::Types::Egroups::VERSION = '0.6805'; |
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
22
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use Mail::LMLM::Types::Ezmlm; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
18
|
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
3
|
use vars qw(@ISA); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
204
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
@ISA=qw(Mail::LMLM::Types::Ezmlm); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub initialize |
13
|
|
|
|
|
|
|
{ |
14
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
$self->SUPER::initialize(@_); |
17
|
|
|
|
|
|
|
|
18
|
0
|
0
|
|
|
|
|
if (! exists($self->{'hostname'}) ) |
19
|
|
|
|
|
|
|
{ |
20
|
0
|
|
|
|
|
|
$self->{'hostname'} = "yahoogroups.com"; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub get_homepage_hostname |
25
|
|
|
|
|
|
|
{ |
26
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
|
|
|
return "groups.yahoo.com"; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub get_homepage |
32
|
|
|
|
|
|
|
{ |
33
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
34
|
|
|
|
|
|
|
|
35
|
0
|
0
|
|
|
|
|
if ( exists($self->{'homepage'}) ) |
36
|
|
|
|
|
|
|
{ |
37
|
0
|
|
|
|
|
|
return $self->{'homepage'}; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
else |
40
|
|
|
|
|
|
|
{ |
41
|
0
|
|
|
|
|
|
return "http://" . $self->get_homepage_hostname() . |
42
|
|
|
|
|
|
|
"/group/" . $self->get_group_base() . "/"; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub get_online_archive |
47
|
|
|
|
|
|
|
{ |
48
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
49
|
|
|
|
|
|
|
|
50
|
0
|
0
|
|
|
|
|
if ( exists($self->{'online_archive'}) ) |
51
|
|
|
|
|
|
|
{ |
52
|
0
|
|
|
|
|
|
return $self->{'online_archive'}; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
else |
55
|
|
|
|
|
|
|
{ |
56
|
0
|
|
|
|
|
|
return $self->get_homepage() . "messages/"; |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
1; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
__END__ |