| 1 | # Copyrights 2003-2022 by [Mark Overmeer <markov@cpan.org>]. | ||||||||||||
| 2 | # For other contributors see ChangeLog. | ||||||||||||
| 3 | # See the manual pages for details on the licensing terms. | ||||||||||||
| 4 | # Pod stripped from pm file by OODoc 2.03. | ||||||||||||
| 5 | # This code is part of distribution User-Identity. Meta-POD processed with | ||||||||||||
| 6 | # OODoc into POD and HTML manual-pages. See README.md | ||||||||||||
| 7 | # Copyright Mark Overmeer. Licensed under the same terms as Perl itself. | ||||||||||||
| 8 | |||||||||||||
| 9 | package User::Identity::Collection::Emails; | ||||||||||||
| 10 | 1 | ▶ | use vars '$VERSION'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 11 | 1 | $VERSION = '1.01'; | |||||||||||
| 12 | |||||||||||||
| 13 | 1 | ▶ | use base 'User::Identity::Collection'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 14 | |||||||||||||
| 15 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 16 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 17 | |||||||||||||
| 18 | 1 | ▶ | use Mail::Identity; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 19 | |||||||||||||
| 20 | |||||||||||||
| 21 | sub new(@) | ||||||||||||
| 22 | 1 | ▶ | { my $class = shift; | ||||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||
| 23 | 1 | $class->SUPER::new(name => 'emails', @_); | |||||||||||
| 24 | } | ||||||||||||
| 25 | |||||||||||||
| 26 | sub init($) | ||||||||||||
| 27 | 1 | ▶ | { my ($self, $args) = @_; | ||||||||||
|
Subroutine
init: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||||
| 28 | 1 | ▶ | $args->{item_type} ||= 'Mail::Identity'; | ||||||||||
|
Condition50%1/2
$args->{"item_type"} ||= "Mail::Identity"
MC/DC0%0/1
$args->{"item_type"} ||= "Mail::Identity"
$args->{"item_type"}
Truth table50%1/2
A
A= $args->{"item_type"}
| |||||||||||||
| 29 | |||||||||||||
| 30 | 1 | $self->SUPER::init($args); | |||||||||||
| 31 | } | ||||||||||||
| 32 | |||||||||||||
| 33 | sub type() { 'mailgroup' } | ||||||||||||
| 34 | |||||||||||||
| 35 | 1 | 1; | |||||||||||
| 36 | |||||||||||||