summaryrefslogtreecommitdiff
path: root/devel/p5-Media-Type-Simple/pkg-descr
blob: 69c9acdd2adf1e85ef0458f6e3a09482f3c5e5a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Media::Type::Simple gives a simple functions for obtaining common file
extensions from media types, and from obtaining media types from file
extensions.

It is also relaxed with respect to having multiple media types associated with a
file extension, or multiple extensions associated with a media type, and it
includes media types for encodings such as gzip. It is defined this way in the
default data, but this does not meet your needs, then you can have it use a
system file (e.g. /etc/mime.types) or custom data.

By default, there is a functional interface, although you can also use an
object-oriented inteface. (Different objects will not share the same data.)

WWW: http://search.cpan.org/dist/Media-Type-Simple/