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::actionrole::needslogin(3pm) - debian
catalyst::controller::actionrole(3pm) - debian
catalyst::manual::actions(3pm) - debian
catalyst::plugin::authentication::credential::nopassword(3pm) - debian
catalystx::simplelogin::traitfor::controller::login::withredirec(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
Detecting unused variables...
One instance of comparing grep and awk
Weird 'find' results
New UNIX and Linux History Sections