X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FEngine%2FResponse%2FPrint.pm;fp=t%2Flib%2FTestApp%2FController%2FEngine%2FResponse%2FPrint.pm;h=8d986f8215740eb8ed29359ebc81301a98638a02;hb=4a41d5d1ec3187cc41e15767b21c14b2aee31740;hp=0000000000000000000000000000000000000000;hpb=2757db2c7c600c8a0b8e2b4366f38c97804c2844;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Engine/Response/Print.pm b/t/lib/TestApp/Controller/Engine/Response/Print.pm new file mode 100644 index 0000000..8d986f8 --- /dev/null +++ b/t/lib/TestApp/Controller/Engine/Response/Print.pm @@ -0,0 +1,25 @@ +package TestApp::Controller::Engine::Response::Print; + +use strict; +use base 'Catalyst::Controller'; + +sub one :Relative { + my ( $self, $c ) = @_; + + $c->res->print("foo"); +} + +sub two :Relative { + my ( $self, $c ) = @_; + + $c->res->print(qw/foo bar/); +} + +sub three :Relative { + my ( $self, $c ) = @_; + + local $, = ','; + $c->res->print(qw/foo bar baz/); +} + +1;