Replace {_body} instance access with calls to _body accessors..
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Request.pm
index f228099..da5d3e4 100644 (file)
@@ -97,7 +97,7 @@ has base => (
 );
 
 has _body => (
-  is => 'rw',
+  is => 'rw', clearer => '_clear_body', predicate => '_has_body',
 );
 # Eugh, ugly. Should just be able to rename accessor methods to 'body'
 #             and provide a custom reader..