line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2001-2020 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
|
|
1128
|
use vars '$VERSION'; |
|
25
|
|
|
|
|
66
|
|
|
25
|
|
|
|
|
1886
|
|
11
|
|
|
|
|
|
|
$VERSION = '3.009'; |
12
|
|
|
|
|
|
|
|
13
|
25
|
|
|
25
|
|
156
|
use base 'Mail::Box::File::Message'; |
|
25
|
|
|
|
|
61
|
|
|
25
|
|
|
|
|
2909
|
|
14
|
|
|
|
|
|
|
|
15
|
25
|
|
|
25
|
|
171
|
use strict; |
|
25
|
|
|
|
|
54
|
|
|
25
|
|
|
|
|
626
|
|
16
|
25
|
|
|
25
|
|
178
|
use warnings; |
|
25
|
|
|
|
|
51
|
|
|
25
|
|
|
|
|
5285
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub head(;$$) |
20
|
13293
|
|
|
13293
|
1
|
2475086
|
{ my $self = shift; |
21
|
13293
|
100
|
|
|
|
34531
|
return $self->SUPER::head unless @_; |
22
|
|
|
|
|
|
|
|
23
|
1309
|
|
|
|
|
2474
|
my ($head, $labels) = @_; |
24
|
1309
|
|
|
|
|
4663
|
$self->SUPER::head($head, $labels); |
25
|
|
|
|
|
|
|
|
26
|
1309
|
100
|
66
|
|
|
14259
|
$self->statusToLabels if $head && !$head->isDelayed; |
27
|
1309
|
|
|
|
|
13347
|
$head; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub label(@) |
31
|
3920
|
|
|
3920
|
1
|
55152
|
{ my $self = shift; |
32
|
3920
|
|
|
|
|
9951
|
$self->loadHead; # be sure the status fields have been read |
33
|
3920
|
|
|
|
|
19943
|
my $return = $self->SUPER::label(@_); |
34
|
3920
|
|
|
|
|
42114
|
$return; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub labels(@) |
38
|
143
|
|
|
143
|
1
|
47276
|
{ my $self = shift; |
39
|
143
|
|
|
|
|
520
|
$self->loadHead; # be sure the status fields have been read |
40
|
143
|
|
|
|
|
958
|
$self->SUPER::labels(@_); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |