From: John Napiorkowski Date: Tue, 5 Nov 2013 21:19:11 +0000 (-0600) Subject: make predicate on env private X-Git-Tag: 5.90050~1^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=f52cae567165a9575c0fd92555b2cebf6f772487 make predicate on env private --- diff --git a/Changes b/Changes index 81e7ab5..16c4b5d 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,10 @@ TBA method was never documented and is new so this should not be scary. If you were using $response->has_write_fh, change to ->_has_write_fh (but please consider a different way to do what you are doing...) + - make predicate on $req->env private. Potentially breaking change, but this + method was never documented and is new so this should not be scary. If you + were using $request->has_env, change to ->_has_env (but please consider + a different way to do what you are doing...) 5.90049_006 - 2013-11-04 diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index b131d4c..69ddd69 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -17,7 +17,7 @@ use namespace::clean -except => 'meta'; with 'MooseX::Emulate::Class::Accessor::Fast'; -has env => (is => 'ro', writer => '_set_env', predicate => 'has_env'); +has env => (is => 'ro', writer => '_set_env', predicate => '_has_env'); # XXX Deprecated crap here - warn? has action => (is => 'rw'); # XXX: Deprecated in docs ages ago (2006), deprecated with warning in 5.8000 due