Slaven Rezić > WE_Framework-0.097_03 > WE::Util::MIME

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.03   Source  

NAME ^

WE::Util::MIME - MIME support functions

SYNOPSIS ^

    use WE::Util::MIME qw(get_mime_type_by_filename %mime_types)

DESCRIPTION ^

get_mime_type_by_filename($filename)

Return the MIME type for the supplied file. This function is exported by default.

%mime_types

This is a hash of MIME type => array of extensions. This hash can be exported optionally.

AUTHOR ^

Slaven Rezic <srezic@cpan.org>

COPYRIGHT ^

Copyright (c) 2002,2003 Slaven Rezic. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: