Fixed binmode call in helper
[catagits/Catalyst-Runtime.git] / t / live / lib / TestApp / Controller / Action / Streaming.pm
CommitLineData
fbcc39ad 1package TestApp::Controller::Action::Streaming;
2
3use strict;
4use base 'TestApp::Controller::Action';
5
6sub streaming : Global {
7 my ( $self, $c ) = @_;
8 for my $line ( split "\n", <<'EOF' ) {
9foo
10bar
11baz
12EOF
13 $c->res->write("$line\n");
14 }
15}
16
171;