This plugin collection was last updated May 1st.

There's two pending bugs from three and seven months ago (both the
same issue, IIRC) and one includes a patch.

The problem is the plugin assumes $c->res->body is a scalar when it
could be a file handle.

The patch submitted does this:

    my $body = $c->response->body;
    $body = join "", $body->getlines if ref($body) =~ /IO/;


Looking at an existing version I hacked I see I did something a bit more
crude:

    my $body = $c->response->body;
    $body = join "\n", <$body> : $body if ref $body;

Next time an author has a few minutes could that fix be uploaded to
CPAN, please?


-- 
Bill Moseley
[EMAIL PROTECTED]


_______________________________________________
List: Catalyst@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/

Reply via email to