1MIME::Field::ConTraEnc(U3s)er Contributed Perl DocumentatMiIoMnE::Field::ConTraEnc(3)
2
3
4
6 MIME::Field::ConTraEnc - a "Content-transfer-encoding" field
7
9 A subclass of Mail::Field.
10
11 Don't use this class directly... its name may change in the future!
12 Instead, ask Mail::Field for new instances based on the field name!
13
15 use Mail::Field;
16 use MIME::Head;
17
18 # Create an instance from some text:
19 $field = Mail::Field->new('Content-transfer-encoding', '7bit');
20
21 # Get the encoding.
22 # Possible values: 'binary', '7bit', '8bit', 'quoted-printable',
23 # 'base64' and '' (unspecified). Note that there can't be a
24 # single default for this, since it depends on the content type!
25 $encoding = $field->encoding;
26
28 MIME::Field::ParamVal, Mail::Field
29
31 Eryq (eryq@zeegee.com), ZeeGee Software Inc (http://www.zeegee.com).
32 Dianne Skoll (dianne@skoll.ca)
33
34
35
36perl v5.36.0 2023-01-20 MIME::Field::ConTraEnc(3)