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