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::controller::actionrole(3pm) - debian
catalyst::manual::catalystandmoose(3pm) - debian
catalyst::manual::internals(3pm) - debian
catalyst::plugin::authentication::credential::nopassword(3pm) - debian
catalystx::injectcomponent(3pm) - debian
Similar Topics in the Unix Linux Community
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
Weird 'find' results
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph