Plack::MIME man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Plack::MIME(3)	      User Contributed Perl Documentation	Plack::MIME(3)

NAME
       Plack::MIME - MIME type registry

SYNOPSIS
	 use Plack::MIME;

	 my $mime = Plack::MIME->mime_type(".png"); # image/png

	 # register new type(s)
	 Plack::MIME->add_type(".foo" => "application/x-foo");

	 # Use MIME::Types as a fallback
	 use MIME::Types 'by_suffix';
	 Plack::MIME->set_fallback(sub { (by_suffix $_[0])[0] });

DESCRIPTION
       Plack::MIME is a simple MIME type registry for Plack applications. The
       selection of MIME types is based on Rack's Rack::Mime module.

SEE ALSO
       Rack::Mime MIME::Types

perl v5.14.2			  2012-05-11			Plack::MIME(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net