From: Brian Cassidy Date: Wed, 7 May 2008 13:05:16 +0000 (+0000) Subject: POD: IO::FileHandle => IO::Handle (RT #35690) X-Git-Tag: 5.7099_04~85 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5f7b140f1d46686bfca1480675f47d34ac236dc8 POD: IO::FileHandle => IO::Handle (RT #35690) --- diff --git a/Changes b/Changes index ffb920e..84ffa20 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,7 @@ under mod_fastcgi/mod_cgi. - Fixed bug in HTTP engine where the connection was not closed properly if the client disconnected before sending any headers. (Ton Voon) + - POD fix, IO::FileHandle => IO::Handle (RT #35690) 5.7012 2007-12-16 23:44:00 - Fix uri_for()'s and uri_with()'s handling of multibyte chars diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index 877f8c9..6b4c7c5 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -39,12 +39,12 @@ will turn the Catalyst::Response into a HTTP Response and return it to the clien =head1 METHODS -=head2 $res->body(<$text|$fh|$iofh_object) +=head2 $res->body(<$text|$fh|$iohandle_object) $c->response->body('Catalyst rocks!'); Sets or returns the output (text or binary data). If you are returning a large body, -you might want to use a L type of object (Something that implements the read method +you might want to use a L type of object (Something that implements the read method in the same fashion), or a filehandle GLOB. Catalyst will write it piece by piece into the response.