Commit | Line | Data |
---|---|---|
e4cc83b2 | 1 | package TestApp::Controller::Engine::Response::Print; |
2 | ||
3 | use strict; | |
c057ae86 | 4 | use base 'Catalyst::Controller'; |
e4cc83b2 | 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 $, = ','; | |
fe3083a8 | 22 | local $\ = ':'; |
e4cc83b2 | 23 | $c->res->print(qw/foo bar baz/); |
24 | } | |
25 | ||
fe3083a8 | 26 | |
e4cc83b2 | 27 | 1; |