From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

# Copyrights 2001-2025 by [Mark Overmeer].
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
# Pod stripped from pm file by OODoc 2.03.
# This code is part of distribution Mail-Box. Meta-POD processed with
# OODoc into POD and HTML manual-pages. See README.md
# Copyright Mark Overmeer. Licensed under the same terms as Perl itself.
our $VERSION = '3.011';
}
use strict;
sub head(;$$)
{ my $self = shift;
return $self->SUPER::head unless @_;
my ($head, $labels) = @_;
$self->SUPER::head($head, $labels);
$self->statusToLabels if $head && !$head->isDelayed;
$head;
}
sub label(@)
{ my $self = shift;
$self->loadHead; # be sure the status fields have been read
my $return = $self->SUPER::label(@_);
$return;
}
sub labels(@)
{ my $self = shift;
$self->loadHead; # be sure the status fields have been read
$self->SUPER::labels(@_);
}
1;