Thank you. Now it works, but it sends the stream and it also prints the
template. (If I don't put a $c->stash->{template} = "..." it gives an error.
I am using:
sub end : ActionClass('RenderView') {
...
}
But I think that RenderView checks only if $c->res->body() was used and it
doesn't know that some content was written by using $c->res->write().
Octavian
----- Original Message -----
From: "Jonathan Rockway" <[EMAIL PROTECTED]>
To: "The elegant MVC web framework" <[email protected]>
Sent: Monday, February 05, 2007 9:38 PM
Subject: Re: [Catalyst] no buffering
Octavian Rasnita wrote:
Hi,
I want to send a dynamicly generated csv file to the browser using a
Catalyst app, but without storing the whole content in a variable before
sending it.
http://lists.rawmode.org/pipermail/catalyst/2006-June/008316.html
--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/