Plack::Middleware::XFramework - Sample middleware to add X-Framework
enable "Plack::Middleware::XFramework", framework => "Catalyst";
This middleware adds X-Framework header to the HTTP response.
X-Framework
Sets the string value of X-Framework header. If not set, the header is not set to the response.
Plack::Middleware
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.