Commit | Line | Data |
---|---|---|
ae29b412 | 1 | package TestApp::Controller::Engine::Response::Print; |
2 | ||
3 | use strict; | |
4 | use base 'Catalyst::Base'; | |
5 | ||
6 | sub one :Relative { | |
7 | my ( $self, $c ) = @_; | |
8 | ||
9 | $c->res->print("foo"); | |
10 | } | |
11 | ||
12 | sub two :Relative { | |
13 | my ( $self, $c ) = @_; | |
14 | ||
15 | $c->res->print(qw/foo bar/); | |
16 | } | |
17 | ||
18 | sub three :Relative { | |
19 | my ( $self, $c ) = @_; | |
20 | ||
21 | local $, = ','; | |
22 | $c->res->print(qw/foo bar baz/); | |
23 | } | |
24 | ||
25 | 1; |