MIME::F...ContDisp(3)
π MIME::F...ContDisp(3) π
okay bestie, quick vibe check: this is the manual page for MIME::Field::ContDisp, straight out of the User Contributed Perl Documentation. yes it's giving very "3" in the title, that's just the man page convention being its usual self π
β¨ NAME β¨
MIME::Field::ContDisp β a "Content-disposition" field π¦
like, that's it. that's the whole name. it's the field, and it's about content disposition. slay.
πΈ DESCRIPTION πΈ
so MIME::Field::ContDisp is a subclass of Mail::Field. that's the whole family tree, no cap. π
π¨ bestie, do NOT use this class directly β¦ its name may literally change in the future! i'm not being dramatic, the docs said it first. π
instead, the move is to ask Mail::Field for new instances based on the field name. that's the way. that's the assignment. periodt. π
β¨ SYNOPSIS β¨
here's the whole glow-up in code form, copy it exactly bestie:
use Mail::Field;
use MIME::Head;
# Create an instance from some text:
$field = Mail::Field->new('Content-disposition', $text);
# Inline or attachment?
$type = $field->type;
# Recommended filename?
$filename = $field->filename;
let's break down the main character moments π«Ά
Mail::Field->new('Content-disposition', $text)β create an instance from some text, iconic behaviour, this is your entry point$field->typeβ inline or attachment? this tells you which one it is, no guessing needed$field->filenameβ the recommended filename, in case you were wondering what to call the thing π
π¦ SEE ALSO π¦
go read these next, they're the friends of the function fr fr:
MIME::Field::ParamValMail::Field
π AUTHOR π
the legends who made this happen:
- Eryq (
eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com). - Dianne Skoll (
dianne@skoll.ca)
and that's the page!! π this was perl v5.42.0, dated 2026-02-11, and it's the MIME::F...ContDisp(3) manual page, mwah π thanks for reading bestie, go write some immaculate Perl π§π
π¦ where this page comes from
- fedora 44: perl-MIME-tools 5.517-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