line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2001-2023 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.03. |
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
|
|
1088
|
use vars '$VERSION'; |
|
25
|
|
|
|
|
68
|
|
|
25
|
|
|
|
|
1602
|
|
11
|
|
|
|
|
|
|
$VERSION = '3.010'; |
12
|
|
|
|
|
|
|
|
13
|
25
|
|
|
25
|
|
194
|
use base 'Mail::Box::File::Message'; |
|
25
|
|
|
|
|
54
|
|
|
25
|
|
|
|
|
2980
|
|
14
|
|
|
|
|
|
|
|
15
|
25
|
|
|
25
|
|
225
|
use strict; |
|
25
|
|
|
|
|
66
|
|
|
25
|
|
|
|
|
628
|
|
16
|
25
|
|
|
25
|
|
138
|
use warnings; |
|
25
|
|
|
|
|
65
|
|
|
25
|
|
|
|
|
5953
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub head(;$$) |
20
|
13293
|
|
|
13293
|
1
|
2381000
|
{ my $self = shift; |
21
|
13293
|
100
|
|
|
|
34099
|
return $self->SUPER::head unless @_; |
22
|
|
|
|
|
|
|
|
23
|
1309
|
|
|
|
|
2530
|
my ($head, $labels) = @_; |
24
|
1309
|
|
|
|
|
4315
|
$self->SUPER::head($head, $labels); |
25
|
|
|
|
|
|
|
|
26
|
1309
|
100
|
66
|
|
|
13585
|
$self->statusToLabels if $head && !$head->isDelayed; |
27
|
1309
|
|
|
|
|
12980
|
$head; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub label(@) |
31
|
3920
|
|
|
3920
|
1
|
54126
|
{ my $self = shift; |
32
|
3920
|
|
|
|
|
9732
|
$self->loadHead; # be sure the status fields have been read |
33
|
3920
|
|
|
|
|
20367
|
my $return = $self->SUPER::label(@_); |
34
|
3920
|
|
|
|
|
44198
|
$return; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub labels(@) |
38
|
143
|
|
|
143
|
1
|
49864
|
{ my $self = shift; |
39
|
143
|
|
|
|
|
487
|
$self->loadHead; # be sure the status fields have been read |
40
|
143
|
|
|
|
|
900
|
$self->SUPER::labels(@_); |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |