Hi Jonathan,
the patches to today's CPAN versions of Poet and Mason attached. Having
those an .mp module should looks like:
CLASS->no_wrap;
method handle {
sub {
my $responder = shift;
my $writer = $responder->([ 200, [ 'Content-Type', 'text/plain'
] ]);
for (my
Hi Alexander,
I haven't had a chance to implement streaming in Poet/Mason2 yet,
unfortunately. Patches are welcome. :)
Jon
On Oct 4, 2012, at 9:14 AM, Alexander wrote:
> Dear colleagues,
>
> I have rather massive SQL query results to be fed as CSV to the client. What
> I currently did is mou
Dear colleagues,
I have rather massive SQL query results to be fed as CSV to the client.
What I currently did is mounted a separate mount point in Plack and defined
a streaming interface:
package DF::Stream;
[... use, constants, etc ... ]
method csv($psgi_env, $responder) {
my $writer = $re
Hi All,
I am trying run Mason2 on Dancer, but I get "Runtime Error".
In apache2 I have modperl and:
SetHandler perl-script
PerlHandler Plack::Handler::Apache2
PerlSetVar psgi_app /home/ubuntu/MyWeb-App/bin/app.pl
I have these modules installed as follows:
curl -L h
4 matches
Mail list logo