[Catalyst] Catalyst::Plugin::DefaultEnd - returning a false string (zeroes)

ryan lauterbach ryan at radianit.com
Fri Apr 7 15:23:48 CEST 2006


ADSJ (Adam Sjøgren) wrote:
> -    return 1 if $c->response->body;                         
> +    return 1 if length $c->response->body;
>      unless ( $c->response->content_type ) {
>   
should it return true for the case of the empty string?  If so maybe

return 1 if defined $c->response->body;






More information about the Catalyst mailing list