DOKK / manpages / debian 11 / libmime-tools-perl / MIME::Field::ContDisp.3pm.en
MIME::Field::ContDisp(3pm) User Contributed Perl Documentation MIME::Field::ContDisp(3pm)

MIME::Field::ContDisp - a "Content-disposition" field

A subclass of Mail::Field.

Don't use this class directly... its name may change in the future! Instead, ask Mail::Field for new instances based on the field name!

    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;

MIME::Field::ParamVal, Mail::Field

Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com). Dianne Skoll (dfs@roaringpenguin.com) http://www.roaringpenguin.com

2017-10-20 perl v5.26.0