projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merged 5.49_01 (r1339) from refactored branch to trunk
[catagits/Catalyst-Runtime.git]
/
t
/
live
/
lib
/
TestApp
/
Controller
/
Action
/
Streaming.pm
1
package TestApp::Controller::Action::Streaming;
2
3
use strict;
4
use base 'TestApp::Controller::Action';
5
6
sub streaming : Global {
7
my ( $self, $c ) = @_;
8
for my $line ( split "\n", <<'EOF' ) {
9
foo
10
bar
11
baz
12
EOF
13
$c->res->write("$line\n");
14
}
15
}
16
17
1;