Mail::M...evenBit(3)

πŸ’– Mail::Message::TransferEnc::SevenBit πŸ’–

okay bestie, so this is the manual page for Mail::Message::TransferEnc::SevenBit (3) β€” yes that's the whole title, it's a Perl module page, User Contributed Perl Documentation, the whole vibe πŸŽ€


✨ NAME ✨

Mail::Message::TransferEnc::SevenBit β€” encode/decode 7bit message bodies πŸ’Œ


🌸 INHERITANCE 🌸

the family tree, she has ancestors, periodt:

Mail::Message::TransferEnc::SevenBit
  is a Mail::Message::TransferEnc
  is a Mail::Reporter

πŸ¦‹ SYNOPSIS πŸ¦‹

literally just:

my Mail::Message $msg = ...;
my $decoded = $msg->decoded;
my $encoded = $msg->encode(transfer => '7bit');

πŸ’… DESCRIPTION πŸ’…

so this thing encodes or decodes message bodies for 7bit transfer encoding. and ngl? it does barely anything. it's giving "I woke up and chose minimal effort" and honestly? iconic of it. πŸ’€

per the specs, and I quote RFC-2045 Section 2.7, which defines what legal 7bit data even is:

"7bit data" refers to data that is all represented as relatively
short lines with 998 octets or less between CRLF line separation
sequences [RFC-821].  No octets with decimal values greater than 127
are allowed and neither are NULs (octets with decimal value 0).  CR
(decimal value 13) and LF (decimal value 10) octets only occur as
part of CRLF line separation sequences.

so like… lines are short (998 octets or less between CRLF sequences), no octets above decimal 127, no NULs (that's decimal value 0 bestie), and CR (13) and LF (10) only show up as part of CRLF line separation sequences. that's the whole rulebook ✨

and as you can safely conclude (I said what I said): decoding these bodies is no work at all. zero. nada. the decoder is on her lunch break permanently 🫢

this module extends "DESCRIPTION" in Mail::Message::TransferEnc, so if you want the family lore, go there.


πŸ”₯ METHODS πŸ”₯

extends "METHODS" in Mail::Message::TransferEnc. that's the tea, go read the parent for the actual method list πŸ’œ


😭 DIAGNOSTICS 😭

the error messages, in all their dramatic glory:

  • Error: class $package does not implement method $method.

fatal error, no cap. the specific $package (or one of its superclasses) does not implement this method where it should. what this means is that some other related classes do implement this method, but the class at hand does not. so you should probably investigate that, and probably inform the author of the package. (cast by notImplemented()) πŸ“’

  • Error: decoder for transfer encoding $type does not work: $@

compiling the required transfer encoding threw errors, which means the decoder can not be used. like, it's broken broken. (cast by create()) πŸ’€

  • Error: no decoder for transfer encoding $type.

a decoder for the specified type of transfer encoding is not implemented. doesn't exist. never got made. (cast by create()) πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

this module is part of Mail-Message version 4.04, built on February 04, 2026. website: http://perl.overmeer.net/CPAN/ 🌈


πŸ’– LICENSE πŸ’–

for contributors, see file ChangeLog.

this software is copyright (c) 2001-2026 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. slay, open source 🫢


and that's the whole page bestie ✨ footer energy: perl v5.42.0, dated 2026-02-05 β€” that's the source/version and date, so consider yourself officially signed off πŸ’…πŸŽ€ bye!!

πŸ“¦ where this page comes from