On 7/26/07, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
> * Bill Moseley <[EMAIL PROTECTED]> [2007-07-26 19:30]:
> > Looking at an existing version I hacked I see I did something a
> > bit more crude:
>
> Crude is better in Perl. Handle-like things come in so many
> shapes that testing for them is futile at best, stupid at worst.
>
> my $body = $c->response->body;
> eval { local $/; $body = <$body> } if ref $body;
> die "Response body is an unsupported kind of reference" if ref $body;
>
ok, looks good. Please to be testing Compress-Zlib from trunk, and I
will do another release soon.
--
With regards
Marcus Ramberg
_______________________________________________
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/