Mail::M...oformat(3)
π Mail::M...oformat(3) π
okay bestie, welcome to the manual page for Mail::Message::Convert::TextAutoformat β aka the glow-up station for your plain text messages. This is from the User Contributed Perl Documentation, and no, the truncated name in the corner is not a glitch, that's just how the man page header likes to do its lil thing. π
β¨ NAME β¨
Mail::Message::Convert::TextAutoformat β Reformat plain text messages. That's it, that's the whole job. π
πΈ INHERITANCE πΈ
the family tree, and yes she's got lineage:
Mail::Message::Convert::TextAutoformat
is a Mail::Message::Convert
is a Mail::Reporter
π¦ SYNOPSIS π¦
the little taste test, the vibe check, the "here's how you'd actually use it":
use Mail::Message::Convert::TextAutoformat;
my $af = Mail::Message::Convert::TextAutoformat->new;
my $beautified_body = $af->autoformatBody($body);
look at her go. β¨
π DESCRIPTION π
so basically she plays trics with plain text β for example bodies with type text/plain β using Damian Conway's Text::Autoformat. like she takes your messy lil text and makes it cute.
Extends "DESCRIPTION" in Mail::Message::Convert.
π METHODS π
Extends "METHODS" in Mail::Message::Convert.
π Constructors
Extends "Constructors" in Mail::Message::Convert.
$class->new(%options)β Inherited, see "Constructors" inMail::Reporter
here's the option table, bestie, keep it close:
-Option --Defined in --Default
fields Mail::Message::Convert <see description>
options +{ all => 1 }
fields=>$name|$regex|\@names|\@regexesoptions=>\%afβ the%afoptions to pass to theText::Autoformatfunctionautoformat().
π« Attributes
Extends "Attributes" in Mail::Message::Convert.
πΈ Converting
Extends "Converting" in Mail::Message::Convert.
$obj->autoformatBody($body)β formats a single message body (aMail::Message::Bodyobject) into a new body object usingText::Autoformat.
the body should have content type text/plain β otherwise the output is probably weird. π consider yourself warned, bestie.
$obj->selectedFields($head)β Inherited, see "Converting" inMail::Message::Convert
π¨ Error handling
Extends "Error handling" in Mail::Message::Convert.
$obj->AUTOLOAD()β Inherited, see "Error handling" inMail::Reporter$obj->notImplemented()β Inherited, see "Error handling" inMail::Reporter
π§Ή Cleanup
Extends "Cleanup" in Mail::Message::Convert.
$obj->DESTROY()β Inherited, see "Cleanup" inMail::Reporter
π 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().
like she's literally telling you "girl, somebody forgot to write this method" β go investigate, go email the author, you got this. π«Ά
π 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.
and that's the whole page, bestie!! πβ¨ this one came to you courtesy of perl v5.42.0, dated 2026-02-05 β mwah, go format some text, you ate. π π¦π
π¦ where this page comes from
- fedora 44: perl-Mail-Message 4.04-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms