| 1 | package Protocol::IMAP::Envelope; | ||
| 2 | { | ||
| 3 | 1 | $Protocol::IMAP::Envelope::VERSION = '0.004'; | |
| 4 | } | ||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Protocol::IMAP::Envelope - represents the message envelope | ||
| 11 | |||
| 12 | =head1 VERSION | ||
| 13 | |||
| 14 | version 0.004 | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | 1 | ▶ | use Protocol::IMAP::Address; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
undocumented
| |||
| 21 | 0 | my $class = shift; | |
| 22 | 0 | my %args = @_; | |
| 23 | 0 | $args{$_} = [ map Protocol::IMAP::Address->new(%$_), @{$args{$_}} ] for qw(from to cc bcc reply_to); | |
| 24 | 0 | my $self = bless \%args, $class; | |
| 25 | 0 | $self | |
| 26 | } | ||
| 27 | |||
| 28 | 0 | ▶ | sub date { shift->{date} } |
|
Subroutine
date: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 29 | 0 | ▶ | sub from { @{shift->{from}} } |
|
Subroutine
from: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 30 | 0 | ▶ | sub to { @{shift->{to}} } |
|
Subroutine
to: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 31 | 0 | ▶ | sub cc { @{shift->{cc}} } |
|
Subroutine
cc: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 32 | 0 | ▶ | sub bcc { @{shift->{bcc}} } |
|
Subroutine
bcc: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 33 | 0 | ▶ | sub subject { shift->{subject} } |
|
Subroutine
subject: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 34 | 0 | ▶ | sub message_id { shift->{message_id} } |
|
Subroutine
message_id: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 35 | |||
| 36 | 1 | 1; | |