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" in Mail::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" in Mail::Message::Head
  • $class->new(%options) β€” Inherited, see "Constructors" in Mail::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. see Mail::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 => CLASS
  • message => $message
  • modified => BOOLEAN

πŸ¦‹ Attributes

Extends "Attributes" in Mail::Message::Head.


🌸 The header

Extends "The header" in Mail::Message::Head.

  • $obj->isDelayed() β€” Inherited, see "The header" in Mail::Message::Head
  • $obj->isEmpty() β€” Inherited, see "The header" in Mail::Message::Head
  • $obj->isModified() β€” Inherited, see "The header" in Mail::Message::Head
  • $obj->knownNames() β€” Inherited, see "The header" in Mail::Message::Head
  • $obj->message( [$message] ) β€” Inherited, see "The header" in Mail::Message::Head
  • $obj->modified( [BOOLEAN] ) β€” Inherited, see "The header" in Mail::Message::Head
  • $obj->orderedFields() β€” Inherited, see "The header" in Mail::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" in Mail::Message::Head πŸ”₯
  • $obj->study( $name, [$index] ) β€” Inherited, see "Access to the header" in Mail::Message::Head

πŸ“ About the body

Extends "About the body" in Mail::Message::Head.

  • $obj->guessBodySize() β€” Inherited, see "About the body" in Mail::Message::Head
  • $obj->isMultipart() β€” Inherited, see "About the body" in Mail::Message::Head

🧚 Internals

Extends "Internals" in Mail::Message::Head.

  • $obj->addNoRealize($field) β€” Inherited, see "Internals" in Mail::Message::Head
  • $obj->addOrderedFields($fields) β€” Inherited, see "Internals" in Mail::Message::Head
  • $obj->fileLocation() β€” Inherited, see "Internals" in Mail::Message::Head
  • $obj->load() β€” Inherited, see "Internals" in Mail::Message::Head
  • $obj->moveLocation($distance) β€” Inherited, see "Internals" in Mail::Message::Head
  • $obj->read($parser) β€” Inherited, see "Internals" in Mail::Message::Head
  • $obj->setNoRealize($field) β€” Inherited, see "Internals" in Mail::Message::Head

πŸ’€ Error handling

Extends "Error handling" in Mail::Message::Head.

  • $obj->AUTOLOAD() β€” Inherited, see "Error handling" in Mail::Reporter
  • $obj->notImplemented() β€” Inherited, see "Error handling" in Mail::Reporter

🧼 Cleanup

Extends "Cleanup" in Mail::Message::Head.

  • $obj->DESTROY() β€” Inherited, see "Cleanup" in Mail::Reporter

🌈 DETAILS 🌈

Extends "DETAILS" in Mail::Message::Head.


⭐ DIAGNOSTICS ⭐

  • Error: class $package does 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 by notImplemented(). 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