line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2001-2019 by [Mark Overmeer]. |
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.02. |
5
|
|
|
|
|
|
|
# This code is part of distribution Mail-Box. 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 Mail::Box::Mbox::Message; |
10
|
25
|
|
|
25
|
|
844
|
use vars '$VERSION'; |
|
25
|
|
|
|
|
51
|
|
|
25
|
|
|
|
|
1215
|
|
11
|
|
|
|
|
|
|
$VERSION = '3.008'; |
12
|
|
|
|
|
|
|
|
13
|
25
|
|
|
25
|
|
127
|
use base 'Mail::Box::File::Message'; |
|
25
|
|
|
|
|
42
|
|
|
25
|
|
|
|
|
2531
|
|
14
|
|
|
|
|
|
|
|
15
|
25
|
|
|
25
|
|
152
|
use strict; |
|
25
|
|
|
|
|
53
|
|
|
25
|
|
|
|
|
515
|
|
16
|
25
|
|
|
25
|
|
131
|
use warnings; |
|
25
|
|
|
|
|
53
|
|
|
25
|
|
|
|
|
4088
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub head(;$$) |
20
|
13293
|
|
|
13293
|
1
|
2072457
|
{ my $self = shift; |
21
|
13293
|
100
|
|
|
|
28895
|
return $self->SUPER::head unless @_; |
22
|
|
|
|
|
|
|
|
23
|
1309
|
|
|
|
|
2230
|
my ($head, $labels) = @_; |
24
|
1309
|
|
|
|
|
3958
|
$self->SUPER::head($head, $labels); |
25
|
|
|
|
|
|
|
|
26
|
1309
|
100
|
66
|
|
|
11490
|
$self->statusToLabels if $head && !$head->isDelayed; |
27
|
1309
|
|
|
|
|
11091
|
$head; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub label(@) |
31
|
3920
|
|
|
3920
|
1
|
45896
|
{ my $self = shift; |
32
|
3920
|
|
|
|
|
8507
|
$self->loadHead; # be sure the status fields have been read |
33
|
3920
|
|
|
|
|
17087
|
my $return = $self->SUPER::label(@_); |
34
|
3920
|
|
|
|
|
34804
|
$return; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub labels(@) |
38
|
143
|
|
|
143
|
1
|
37556
|
{ my $self = shift; |
39
|
143
|
|
|
|
|
378
|
$self->loadHead; # be sure the status fields have been read |
40
|
143
|
|
|
|
|
645
|
$self->SUPER::labels(@_); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |