1SVK::MimeDetect(3)    User Contributed Perl Documentation   SVK::MimeDetect(3)
2
3
4

NAME

6       SVK::MimeDetect - interface for MIME type detection algorithms
7

DESCRIPTION

9       This defines an interface for MIME type detection algorithms.  A MIME
10       type detection module doesn't need to inherit from this module, but it
11       does need to provide the same interface.  See "INTERFACE" for details.
12

INTERFACE

14       new
15
16       "new" should return a new object which implements the "checktype_file‐
17       name" method described below.  The default implementation simply
18       returns an empty, blessed hash.
19
20       checktype_filename
21
22       Given a single, absolute filename as an argument, this method should
23       return a scalar with the MIME type of the file or "undef" if there is
24       an error.
25
26
27
28perl v5.8.8                       2006-12-28                SVK::MimeDetect(3)
Impressum