debian man page for catalyst::controller::metal

Query: catalyst::controller::metal

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Catalyst::Controller::Metal(3pm)			User Contributed Perl Documentation			  Catalyst::Controller::Metal(3pm)

NAME
Catalyst::Controller::Metal - Raw PSGI handling in Catalyst controllers
SYNOPSIS
package MyApp::Controller::Metalic; use parent 'Catalyst::Controller::Metal'; sub call { my($self, $env) = @_; if ($env->{PATH_INFO} =~ m!^/hello!) { return [ 200, [ "Content-Type" => 'text/plain' ], [ "Hello World" ] ]; } else { return [ 404, [], [] ]; } } Catalyst::Controller::Metal allows you to write a raw PSGI handler in your Catalyst application, inspired by Rails Metal that allows you to write raw Rack applications inside Ruby on Rails.
SEE ALSO
Rails Metal. perl v5.12.3 2011-03-21 Catalyst::Controller::Metal(3pm)
Related Man Pages
catalyst::engine::psgi(3pm) - debian
catalyst::helper::html::formfu(3pm) - debian
catalyst::manual::actions(3pm) - debian
catalyst::model::cdbi::crud(3pm) - debian
catalyst::plugin::log::dispatch(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
How can I do this in VI editor?
Detecting unused variables...
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?