Plack::Middleware::SimpleContentFilter 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::Middleware::SimUseroContributePlack::Middleware::SimpleContentFilter(3)

NAME
       Plack::Middleware::SimpleContentFilter - Filters response content

SYNOPSIS
	 use Plack::Builder;

	 my $app = sub {
	     return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
	 };

	 builder {
	     enable "Plack::Middleware::SimpleContentFilter",
		 filter => sub { s/Foo/Bar/g; };
	     $app;
	 };

DESCRIPTION
       This middleware should be considered as a demo. Running this against
       your application might break your HTML unless you code the filter
       callback carefully.

       Plack::Middleware::SimpleContentFilter is a simple content text filter
       to run against response body. This middleware is only enabled against
       responses with "text/*" Content-Type.

AUTHOR
       Tatsuhiko Miyagawa

perl v5.14.2			  201Plack::Middleware::SimpleContentFilter(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