[Catalyst] no buffering

Octavian Rasnita orasnita at gmail.com
Mon Feb 5 20:22:09 GMT 2007


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" <jon at jrock.us>
To: "The elegant MVC web framework" <catalyst at lists.rawmode.org>
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: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: 
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/ 




More information about the Catalyst mailing list