Mail::...::Head(3pm)
π Mail::...::Head β the tea β
ok so bestie, we're looking at Mail::...::Head, which lives in the User Contributed Perl Documentation corner of the perl world (that's the 3pm part, iykyk). Buckle up, we're doing IMAP vibes today π¦
β¨ NAME β¨
Mail::Box::IMAP4::Head β header fields related IMAP interface. it's giving "the header but make it IMAP4" π
πΈ INHERITANCE πΈ
the family tree, periodt:
Mail::Box::IMAP4::Head
is a Mail::Message::Head
is a Mail::Reporter
so it's a grandbaby of Mail::Reporter, no cap π
π SYNOPSIS π
bestie... there is literally nothing here. the synopsis section is empty. an icon of minimalism fr fr πβ¨
π DESCRIPTION π
okay so this class implements a pure IMAP4 protocol interface, where as little data is retrieved from the header as possible. sounds chic, right? π yeah well β it may look nice to you, but it is not sufficient for many tasks. for instance, you cannot remove or modify fields this way. not me finding out the hard way π
want a header that can actually do all the games? change Mail::Box::IMAP4::new(cache_head) to "YES" or "DELAY", and you'll get a message header which is capable of performing all possible games with headers. slay π
β οΈ but on the other hand: the other settings are not 100% safe... so choose your fighter wisely bestie
Extends "DESCRIPTION" in Mail::Message::Head. π«Ά
π« OVERLOADED π«
Extends "OVERLOADED" in Mail::Message::Head.
- overload:
""stringifaction β Inherited, see "OVERLOADED" inMail::Message::Head - overload: bool true/false β Inherited, see "OVERLOADED" in
Mail::Message::Head
like it literally knows how to be a string and a boolean. main character energy β
π₯ METHODS π₯
Extends "METHODS" in Mail::Message::Head.
π§Έ Constructors
Extends "Constructors" in Mail::Message::Head.
$class->build( [PAIR|$field]-LIST )β Inherited, see "Constructors" inMail::Message::Head$class->new(%options)β Inherited, see "Constructors" inMail::Message::Head
the options table, and bestie the defaults are right there in columns, look:
-Option --Defined in --Default
cache_fields false
field_type Mail::Message::Head Mail::Message::Field::Fast
message Mail::Message::Head undef
modified Mail::Message::Head false
cache_fields => BOOLEANβ this is only a read-cache on fields, because this kind of header does not allow writing of fields. seeMail::Box::IMAP4::new(cache_head)β this value is set to"false"for"NO"and"true"for"PARTIAL". (yes, two dots, that's the original, don't come for me π« )field_type => CLASSmessage => $messagemodified => BOOLEAN
π¦ Attributes
Extends "Attributes" in Mail::Message::Head.
πΈ The header
Extends "The header" in Mail::Message::Head.
$obj->isDelayed()β Inherited, see "The header" inMail::Message::Head$obj->isEmpty()β Inherited, see "The header" inMail::Message::Head$obj->isModified()β Inherited, see "The header" inMail::Message::Head$obj->knownNames()β Inherited, see "The header" inMail::Message::Head$obj->message( [$message] )β Inherited, see "The header" inMail::Message::Head$obj->modified( [BOOLEAN] )β Inherited, see "The header" inMail::Message::Head$obj->orderedFields()β Inherited, see "The header" inMail::Message::Head
π Access to the header
Extends "Access to the header" in Mail::Message::Head.
$obj->get( $name, [$index] )β get the information about the header line$name. realization will take place. improves base, see "Access to the header" inMail::Message::Headπ₯$obj->study( $name, [$index] )β Inherited, see "Access to the header" inMail::Message::Head
π About the body
Extends "About the body" in Mail::Message::Head.
$obj->guessBodySize()β Inherited, see "About the body" inMail::Message::Head$obj->isMultipart()β Inherited, see "About the body" inMail::Message::Head
π§ Internals
Extends "Internals" in Mail::Message::Head.
$obj->addNoRealize($field)β Inherited, see "Internals" inMail::Message::Head$obj->addOrderedFields($fields)β Inherited, see "Internals" inMail::Message::Head$obj->fileLocation()β Inherited, see "Internals" inMail::Message::Head$obj->load()β Inherited, see "Internals" inMail::Message::Head$obj->moveLocation($distance)β Inherited, see "Internals" inMail::Message::Head$obj->read($parser)β Inherited, see "Internals" inMail::Message::Head$obj->setNoRealize($field)β Inherited, see "Internals" inMail::Message::Head
π Error handling
Extends "Error handling" in Mail::Message::Head.
$obj->AUTOLOAD()β Inherited, see "Error handling" inMail::Reporter$obj->notImplemented()β Inherited, see "Error handling" inMail::Reporter
π§Ό Cleanup
Extends "Cleanup" in Mail::Message::Head.
$obj->DESTROY()β Inherited, see "Cleanup" inMail::Reporter
π DETAILS π
Extends "DETAILS" in Mail::Message::Head.
β DIAGNOSTICS β
- Error: class
$packagedoes not implement method$method. β fatal error: the specific$package(or one of its superclasses) does not implement this method where it should. this message means that some other related classes do implement this method however the class at hand does not. probably you should investigate this and probably inform the author of the package. cast bynotImplemented(). it's giving "not my job but someone's job" π
π«Ά SEE ALSO π«Ά
this module is part of Mail-Box-IMAP4 version 4.01, built on December 13, 2025. Website: http://perl.overmeer.net/CPAN/ β go peek, bestie β¨
π LICENSE π
for contributors see file ChangeLog.
this software is copyright (c) 2001-2025 by Mark Overmeer.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. iconic, generous, legendary π
and that's the whole page, bestie π written up by perl v5.40.1, dated 2026-01-21, answering to the name Mail::...::Head(3pm) β she ate and left no crumbs π
π¦πΈ
π¦ where this page comes from
- ubuntu resolute: libmail-box-imap4-perl 4.01-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmail-box-imap4-perl 4.01-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms