/usr/share/perl5/MIME/Field/ContDisp.pm is in libmime-tools-perl 5.509-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | package MIME::Field::ContDisp;
=head1 NAME
MIME::Field::ContDisp - a "Content-disposition" field
=head1 DESCRIPTION
A subclass of Mail::Field.
I<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!
=head1 SYNOPSIS
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;
=head1 SEE ALSO
L<MIME::Field::ParamVal>, L<Mail::Field>
=head1 AUTHOR
Eryq (F<eryq@zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
Dianne Skoll (dfs@roaringpenguin.com) http://www.roaringpenguin.com
=cut
require 5.001;
use strict;
use MIME::Field::ParamVal;
use vars qw($VERSION @ISA);
@ISA = qw(MIME::Field::ParamVal);
# The package version, both in 1.23 style *and* usable by MakeMaker:
$VERSION = "5.509";
# Install it:
bless([])->register('Content-disposition');
#------------------------------
sub filename {
shift->paramstr('filename', @_);
}
sub type {
shift->paramstr('_', @_);
}
#------------------------------
1;
|